
This is a sort of Java porting of the Python exploit at: https://www.exploit-db.com/exploits/41570/.
이는 https://www.exploit-db.com/exploits/41570/에 있는 Python 익스플로잇의 Java 포팅입니다.
이 소프트웨어는 외부 종속성 없이 작성되었습니다.
이 도구는 보안 엔지니어와 앱시큐어 담당자가 보안 평가를 위해 사용하도록 설계되었습니다. 이 도구를 책임감 있게 사용해 주십시오. 이 응용 프로그램을 사용하는 방식에 대해 책임을 지지 않습니다. 이 도구를 사용하여 발생한 손해나 저지른 범죄에 대해 책임을 지지 않습니다.
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"
이 프로젝트는 MIT 라이선스 하에 배포됩니다. 자세한 내용은 LICENSE.txt 파일을 참조하세요.