From 548d625a00d62984aec0ac2e5e61413ec2707c79 Mon Sep 17 00:00:00 2001 From: 1N3 <1N3@hushmail.com> Date: Sat, 12 Dec 2015 09:25:25 -0500 Subject: [PATCH] Sn1per v1.4e by 1N3@CrowdShield --- README.md | 6 +++-- install.sh | 63 ++++++++++++++++++++++++++++++++++++++++++-------- loot/README.md | 11 +++++++-- sniper | 6 ++--- 4 files changed, 70 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 5e9f946..a763b33 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ -+ -- --=[Sn1per v1.4d by 1N3 ++ -- --=[Sn1per v1.4e by 1N3 + -- --=[http://crowdshield.com # Sn1per - Automated Pentest Recon Scanner @@ -17,7 +17,7 @@ Sn1per is an automated scanner that can be used during a penetration test to enu ## INSTALL: ``` -./install.sh - Installs all dependencies. Best run from Kali Linux. +./install.sh - Installs all dependencies OR upgrades existing Sn1per installations. Best run from Kali Linux. ``` ## USAGE: @@ -29,6 +29,8 @@ Sn1per is an automated scanner that can be used during a penetration test to enu https://goo.gl/96LCAg ## CHANGELOG: +* v1.4e - Fixed reported errors install.sh +* v1.4e - Added auto-upgrade option to install.sh for existing Sn1per installs * v1.4d - Fixed missing rake gem install dependency * v1.4c - Reordered 3rd party extensions * v1.4b - Fixed install.sh executable references diff --git a/install.sh b/install.sh index 04dcaf0..c42f568 100644 --- a/install.sh +++ b/install.sh @@ -1,9 +1,38 @@ #!/bin/bash # Install script for sn1per # +# VARS +OKBLUE='\033[94m' +OKRED='\033[91m' +OKGREEN='\033[92m' +OKORANGE='\033[93m' +RESET='\e[0m' + +echo -e "$OKRED ____ $RESET" +echo -e "$OKRED _________ / _/___ ___ _____$RESET" +echo -e "$OKRED / ___/ __ \ / // __ \/ _ \/ ___/$RESET" +echo -e "$OKRED (__ ) / / // // /_/ / __/ / $RESET" +echo -e "$OKRED /____/_/ /_/___/ .___/\___/_/ $RESET" +echo -e "$OKRED /_/ $RESET" +echo -e "$RESET" +echo -e "$OKORANGE + -- --=[http://crowdshield.com$RESET" +echo "" + DIR=$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd ) -echo "Installing sn1per dependencies..." + +echo -e "$OKGREEN + -- --=[This script will install or upgrade your Sn1per installation. Are you sure you want to continue?$RESET" +read answer + +echo -e "$OKORANGE + -- --=[Installing package dependencies...$RESET" apt-get install host whois theharvester dnsenum dnsrecon curl nmap php5 php5-curl wapiti hydra iceweasel wpscan sqlmap arachni w3af golismero nbtscan enum4linux cisco-torch metasploit-framework theharvester dnsenum nikto smtp-user-enum whatweb python nbtscan sslscan amap + +echo -e "$OKORANGE + -- --=[Installing gem dependencies...$RESET" +gem install ruby-nmap net-http-persistent mechanize text-table rake + +echo -e "$OKORANGE + -- --=[Cleaning up old extensions...$RESET" +rm -Rf Findsploit/ Brutex/ Goohak/ XSSTracer/ MassBleed/ SuperMicro-Password-Scanner/ CMSmap/ yasuo/ Breach-Miner/ + +echo -e "$OKORANGE + -- --=[Downloading extensions...$RESET" git clone https://github.com/1N3/Findsploit.git git clone https://github.com/1N3/BruteX.git git clone https://github.com/1N3/Goohak.git @@ -12,13 +41,25 @@ git clone https://github.com/1N3/MassBleed.git git clone https://github.com/1N3/SuperMicro-Password-Scanner git clone https://github.com/Dionach/CMSmap.git git clone https://github.com/0xsauby/yasuo.git -gem install ruby-nmap net-http-persistent mechanize text-table rake git clone https://github.com/vishnuraju/Breach-Miner-automated-.git Breach-Miner -mkdir loot -chmod +rx $DIR/sniper -chmod +rx $DIR/bin/dnsdict6 -chmod +rx $DIR/Goohak/goohak -chmod +rx $DIR/XSSTracer/xsstracer.py + +echo -e "$OKORANGE + -- --=[Setting up environment...$RESET" +mkdir loot 2> /dev/null +chmod +x $DIR/sniper +chmod +x $DIR/bin/dnsdict6 +chmod +x $DIR/Goohak/goohak +chmod +x $DIR/XSSTracer/xsstracer.py +chmod +x $DIR/MassBleed/massbleed +chmod +x $DIR/MassBleed/heartbleed.py +chmod +x $DIR/MassBleed/openssl_ccs.pl +rm -f /usr/bin/sniper +rm -f /usr/bin/goohak +rm -f /usr/bin/xsstracer +rm -f /usr/bin/findsploit +rm -f /usr/bin/copysploit +rm -f /usr/bin/compilesploit +rm -f /usr/bin/massbleed +rm -f /usr/bin/brutex ln -s $DIR/sniper /usr/bin/sniper ln -s $DIR/Goohak/goohak /usr/bin/goohak ln -s $DIR/XSSTracer/xsstracer.py /usr/bin/xsstracer @@ -27,5 +68,9 @@ ln -s $DIR/Findsploit/copysploit /usr/bin/copysploit ln -s $DIR/Findsploit/compilesploit /usr/bin/compilesploit ln -s $DIR/MassBleed/massbleed /usr/bin/massbleed ln -s $DIR/BruteX/brutex /usr/bin/brutex -echo "Be sure to install the following packages manually and update the sniper script references: dig dnsdict6 cmsmap samrdump inurlbr wafw00f showmount samrdump rpcinfo snmpwalk" -echo "Done!" + +echo -e "$OKORANGE + -- --=[Done!$RESET" + +# REMOVED BUT STILL AVAILABLE IF NEEDED +# echo -e "$OKGREEN + -- --=[Be sure to install the following packages manually and update the sniper script references: dig dnsdict6 cmsmap samrdump inurlbr wafw00f showmount samrdump rpcinfo snmpwalk$RESET" + diff --git a/loot/README.md b/loot/README.md index ea704cc..a763b33 100644 --- a/loot/README.md +++ b/loot/README.md @@ -1,4 +1,4 @@ -+ -- --=[Sn1per v1.4 by 1N3 ++ -- --=[Sn1per v1.4e by 1N3 + -- --=[http://crowdshield.com # Sn1per - Automated Pentest Recon Scanner @@ -17,7 +17,7 @@ Sn1per is an automated scanner that can be used during a penetration test to enu ## INSTALL: ``` -./install.sh - Installs all dependencies. Best run from Kali Linux. +./install.sh - Installs all dependencies OR upgrades existing Sn1per installations. Best run from Kali Linux. ``` ## USAGE: @@ -29,6 +29,13 @@ Sn1per is an automated scanner that can be used during a penetration test to enu https://goo.gl/96LCAg ## CHANGELOG: +* v1.4e - Fixed reported errors install.sh +* v1.4e - Added auto-upgrade option to install.sh for existing Sn1per installs +* v1.4d - Fixed missing rake gem install dependency +* v1.4c - Reordered 3rd party extensions +* v1.4b - Fixed install.sh executable references +* v1.4b - Fixed Yasou dependencies in install.sh +* v1.4b - Fixed minor issues with BruteX loot directory * v1.4 - Added Yasou for automatic web form brute forcing * v1.4 - Added MassBleed for SSL vulnerability detection * v1.4 - Added Breach-Miner for detection of breached accounts diff --git a/sniper b/sniper index 8459804..2d2ba12 100644 --- a/sniper +++ b/sniper @@ -1,5 +1,5 @@ #!/bin/bash -# + -- --=[Sn1per v1.4d by 1N3 v20151210 +# + -- --=[Sn1per v1.4e by 1N3 v20151212 # + -- --=[http://crowdshield.com # # Sn1per - Automated Pentest Recon Tool @@ -46,7 +46,7 @@ if [ -z $TARGET ]; then echo -e "$OKRED /_/ $RESET" echo -e "$RESET" echo -e "$OKORANGE + -- --=[http://crowdshield.com" - echo -e "$OKORANGE + -- --=[sn1per v1.4d by 1N3" + echo -e "$OKORANGE + -- --=[sn1per v1.4e by 1N3" echo -e "$OKORANGE + -- --=[Usage: sn1per " exit fi @@ -61,7 +61,7 @@ echo -e "$OKRED /____/_/ /_/___/ .___/\___/_/ $RESET" echo -e "$OKRED /_/ $RESET" echo -e "$RESET" echo -e "$OKORANGE + -- --=[http://crowdshield.com" -echo -e "$OKORANGE + -- --=[sn1per v1.4d by 1N3" +echo -e "$OKORANGE + -- --=[sn1per v1.4e by 1N3" echo -e "$RESET" echo -e "$OKGREEN################################### Running recon #################################$RESET" nslookup $TARGET