Sn1per Community Edition by @xer0dayz - https://xerosecurity.com

This commit is contained in:
xer0dayz
2020-04-19 13:01:48 -07:00
committed by xer0dayz
parent b59467344f
commit ecf7293ba1
2 changed files with 22 additions and 22 deletions

View File

@@ -14,6 +14,7 @@
* v8.3 - Improved performance of 'stealth' and 'recon' modes
* v8.3 - Updated default port lists
* v8.3 - Improved performance of all port scans
* v8.3 - Removed all pip v2 commands from installer
* v8.3 - Added fix for missing Amass package
* v8.3 - Added sniper.conf options for OPENVAS_HOST and OPENVAS_PORT selection for remote instances
* v8.3 - Improved 'vulnscan' mode via OpenVAS to scan the same asset multiple times with improved error handling

View File

@@ -84,7 +84,7 @@ apt-get install -y chromium
apt-get install -y net-tools
apt-get install -y p7zip-full
apt-get install -y js-beautifier
pip install dnspython colorama tldextract urllib3 ipaddress requests
pip3 install dnspython colorama tldextract urllib3 ipaddress requests
curl -o- https://raw.githubusercontent.com/creationix/nvm/v0.33.8/install.sh | bash
echo -e "$OKORANGE + -- --=[ Installing gem dependencies...$RESET"
@@ -103,16 +103,16 @@ mkdir -p $PLUGINS_DIR/nmap_scripts/ 2> /dev/null
mkdir -p $GO_DIR 2> /dev/null
echo -e "$OKORANGE + -- --=[ Downloading extensions...$RESET"
git clone https://github.com/1N3/BruteX.git
git clone https://github.com/1N3/Findsploit.git
git clone https://github.com/1N3/BruteX.git
git clone https://github.com/1N3/Findsploit.git
git clone https://github.com/1N3/Goohak.git
git clone https://github.com/1N3/BlackWidow
git clone https://github.com/Dionach/CMSmap.git
git clone https://github.com/0xsauby/yasuo.git
git clone https://github.com/Dionach/CMSmap.git
git clone https://github.com/0xsauby/yasuo.git
git clone https://github.com/1N3/Sublist3r.git
git clone https://github.com/nccgroup/shocker.git
git clone https://github.com/nccgroup/shocker.git
git clone https://github.com/BishopFox/spoofcheck.git
git clone https://github.com/arthepsy/ssh-audit
git clone https://github.com/arthepsy/ssh-audit
git clone https://github.com/1N3/jexboss.git
git clone https://github.com/maurosoria/dirsearch.git
git clone https://github.com/jekyc/wig.git
@@ -121,17 +121,17 @@ git clone https://github.com/RUB-NDS/CORStest.git
git clone https://github.com/hisxo/gitGraber.git
git clone https://github.com/1N3/LinkFinder
cd LinkFinder
python setup.py install
python setup.py install
cd ..
git clone https://github.com/christophetd/censys-subdomain-finder.git
pip3 install -r $PLUGINS_DIR/gitGraber/requirements.txt
pip install -r $PLUGINS_DIR/censys-subdomain-finder/requirements.txt
pip3 install -r $PLUGINS_DIR/dnscan/requirements.txt
git clone https://github.com/infosec-au/altdns.git
pip3 install -r $PLUGINS_DIR/censys-subdomain-finder/requirements.txt
pip3 install -r $PLUGINS_DIR/dnscan/requirements.txt
git clone https://github.com/infosec-au/altdns.git
cd altdns
pip install -r requirements.txt
python2 setup.py install
pip install py-altdns
pip3 install -r requirements.txt
python2 setup.py install
pip3 install py-altdns 2> /dev/null
cd ..
git clone https://github.com/blechschmidt/massdns.git
cd massdns
@@ -142,7 +142,7 @@ cd dnsgen
pip3 install -r requirements.txt
python3 setup.py install
cd ..
pip install webtech
pip3 install webtech
mv $INSTALL_DIR/bin/slurp.zip $PLUGINS_DIR
unzip slurp.zip
rm -f slurp.zip
@@ -170,8 +170,8 @@ wget https://raw.githubusercontent.com/1N3/Exploits/master/defcon_webmin_unauth_
wget https://github.com/OJ/gobuster/releases/download/v3.0.1/gobuster-linux-amd64.7z -O /tmp/gobuster.7z
cd /tmp/
7z e gobuster.7z
chmod +rx gobuster
mv gobuster /usr/bin/gobuster
chmod +rx gobuster
mv gobuster /usr/bin/gobuster
cd $PLUGINS_DIR
wget https://github.com/laramies/theHarvester/archive/3.0.6.tar.gz
tar -zxvf 3.0.6.tar.gz
@@ -180,16 +180,16 @@ rm -f /usr/bin/theharvester
ln -s /usr/share/sniper/plugins/theHarvester-3.0.6/theHarvester.py /usr/bin/theharvester
git clone https://github.com/laramies/metagoofil.git
git clone https://github.com/achillean/shodan-python
cd shodan-python
cd shodan-python
python setup.py install
cd ..
pip3 install spyse.py
pip install h8mail 2> /dev/null
pip3 install h8mail 2> /dev/null
echo -e "$OKORANGE + -- --=[ Setting up environment...$RESET"
cd $PLUGINS_DIR/BlackWidow/ && bash install.sh force 2> /dev/null
cd $PLUGINS_DIR/BruteX/ && bash install.sh 2> /dev/null
cd $PLUGINS_DIR/Findsploit/ && bash install.sh 2> /dev/null
cd $PLUGINS_DIR/spoofcheck/ && pip install -r requirements.txt 2> /dev/null
cd $PLUGINS_DIR/spoofcheck/ && pip3 install -r requirements.txt 2> /dev/null
cd $PLUGINS_DIR/CMSmap/ && pip3 install . && python3 setup.py install
cd $INSTALL_DIR
mkdir $LOOT_DIR 2> /dev/null
@@ -210,11 +210,10 @@ msfdb init
echo -e "$OKORANGE + -- --=[ Adding start menu shortcuts... $RESET"
cp -f $INSTALL_DIR/sn1per.desktop /usr/share/applications/ 2> /dev/null
cp -f $INSTALL_DIR/sn1per.png /usr/share/pixmaps/ 2> /dev/null
echo -e "$OKORANGE + -- --=[ Copying the old Sn1per configuration file to /root/.sniper.conf.old $RESET"
mv ~/.sniper.conf ~/.sniper.conf.old 2> /dev/null
echo -e "$OKORANGE + -- --=[ Copying updated Sn1per configuration file to /root/.sniper.conf $RESET"
cp $INSTALL_DIR/sniper.conf ~/.sniper.conf 2> /dev/null
echo -e "$OKBLUE + -- --=[ NOTE: You may need to copy your old API keys and config to the new sniper.conf file at /root/.sniper.conf $RESET"
echo -e "$OKORANGE + -- --=[ Done! $RESET"
echo -e "$OKORANGE + -- --=[ To run, type 'sniper'! $RESET"
echo -e "$OKORANGE + -- --=[ To run, type 'sniper'! $RESET"