From 0da027bf3b9ff457b9f26b53271e51d0acd9f2ba Mon Sep 17 00:00:00 2001 From: root Date: Wed, 6 Jan 2016 15:57:43 -0500 Subject: [PATCH] Sn1per v1.5 by 1N3@CrowdShield --- README.md | 1 + sniper | 18 +++++------------- 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index 6bbeee3..4874412 100644 --- a/README.md +++ b/README.md @@ -30,6 +30,7 @@ https://gist.github.com/1N3/8214ec2da2c91691bcbc ``` ## CHANGELOG: +* v1.5d - Fixed minor issues with port 513/tmp and 514/tcp checks * v1.5c - Fixed issue which broke link to sniper directory * v1.5b - Added Squid Proxy checks port 3128/tcp * v1.5b - Fixed shodan setup options in install.sh diff --git a/sniper b/sniper index 9f630a7..405fa6d 100644 --- a/sniper +++ b/sniper @@ -81,10 +81,10 @@ if [ $SCAN_TYPE == "DOMAIN" ]; then dig -x $TARGET whois $TARGET - theHarvester -d $TARGET -b google - theHarvester -d $TARGET -b bing - theHarvester -d $TARGET -b linkedin - theHarvester -d $TARGET -b people123 + theharvester -d $TARGET -b google + theharvester -d $TARGET -b bing + theharvester -d $TARGET -b linkedin + theharvester -d $TARGET -b people123 dnsrecon -d $TARGET dnsrecon -d $TARGET -t zonewalk dnsrecon -d quora.com -t axfr @@ -433,7 +433,7 @@ then echo -e "$OKRED+ -- --=[Port 513 closed... skipping.$RESET" else echo -e "$OKGREEN+ -- --=[Port 513 opened... running tests...$RESET" - nmap -sV -p 513 --script=rexec* $TARGET + nmap -sV -p 513 --script=rlogin* $TARGET fi if [ -z "$port_514" ] @@ -444,14 +444,6 @@ else amap $TARGET 514 -A fi -if [ -z "$port_514" ] -then - echo -e "$OKRED+ -- --=[Port 514 closed... skipping.$RESET" -else - echo -e "$OKGREEN+ -- --=[Port 514 opened... running tests...$RESET" - amap -A $TARGET 1524 -fi - if [ -z "$port_2049" ] then echo -e "$OKRED+ -- --=[Port 2049 closed... skipping.$RESET"