From 8911da7fe80a6c5d930789a384ead558bc4bee9c Mon Sep 17 00:00:00 2001 From: root Date: Sat, 14 May 2016 10:43:14 -0700 Subject: [PATCH] Sn1per by 1N3 @CrowdShield --- README.md | 1 + sniper | 24 ++++++++++++++++++------ 2 files changed, 19 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index ca1c9ff..fde97bf 100644 --- a/README.md +++ b/README.md @@ -48,6 +48,7 @@ https://gist.github.com/1N3/8214ec2da2c91691bcbc ``` ## CHANGELOG: +* v1.7b - Fixed issue with airstrike mode not scanning correctly * v1.7b - Improved passive recon performance * v1.7a - Improved NMap http scan performance * v1.7a - Removed joomscan due to verbosity issues diff --git a/sniper b/sniper index ae10d53..6b94c00 100644 --- a/sniper +++ b/sniper @@ -29,7 +29,7 @@ # ./sniper nuke # # UNCOMMENT AND SET TARGET DIR FOR UNIVERSAL ACCESS (ie. sniper ) -#cd /pentest/web/Sn1per/ +# cd /pentest/web/Sn1per/ clear @@ -141,9 +141,7 @@ if [ "$MODE" = "stealth" ]; then echo -e "$OKGREEN + -- --=[Launching stealth scan: $TARGET $RESET" echo -e "$OKGREEN $RESET" echo -e "$OKGREEN################################### Running recon #################################$RESET" - echo -e "$OKGREEN+ -- --=[Running nslookup...$RESET" nslookup $TARGET - echo -e "$OKGREEN+ -- --=[Running host lookup...$RESET" host $TARGET if [ $SCAN_TYPE == "DOMAIN" ]; then @@ -155,7 +153,7 @@ if [ "$MODE" = "stealth" ]; then python Sublist3r/sublist3r.py -d $TARGET -vvv 2>/dev/null fi echo "" - echo -e "$OKGREEN################################### Running passive scans #########################$RESET" + echo -e "$OKGREEN################################### Running active scans #########################$RESET" unicornscan $TARGET:21,22,23,25,53,79,80,110,111,135,139,162,389,443,445,512,513,514,1099,1524,2049,2121,3306,3389,3632,5432,5800,5900,6667,8000,8009,8080,8180,8443,10000,49152 2> /dev/null wafw00f http://$TARGET whatweb http://$TARGET @@ -163,7 +161,6 @@ if [ "$MODE" = "stealth" ]; then sslscan --no-failed $TARGET cutycapt --url=http://$TARGET --out=loot/$TARGET-port80.jpg echo -e "$OKGREEN################################### Done! #########################################$RESET" - clear exit fi @@ -229,7 +226,7 @@ if [ "$MODE" = "airstrike" ]; then python Sublist3r/sublist3r.py -d $a -vvv 2>/dev/null fi echo "" - echo -e "$OKGREEN################################### Running passive scans #########################$RESET" + echo -e "$OKGREEN################################### Running active scans #########################$RESET" unicornscan $a:21,22,23,25,53,79,80,110,111,135,139,162,389,443,445,512,513,514,1099,1524,2049,2121,3306,3389,3632,5432,5800,5900,6667,8000,8009,8080,8180,8443,10000,49152 2> /dev/null xprobe2 $a wafw00f http://$a @@ -238,6 +235,21 @@ if [ "$MODE" = "airstrike" ]; then sslscan --no-failed $a cutycapt --url=http://$a --out=loot/$a-port80.jpg echo -e "$OKGREEN################################### Done! #########################################$RESET" + echo -e "" + echo -e "" + echo -e "" + echo -e "" + echo -e "" + echo -e "" + echo -e "" + echo -e "" + echo -e "" + echo -e "" + echo -e "" + echo -e "" + echo -e "" + echo -e "" + echo -e "" clear done; exit