Skip to content
Permalink
master
Switch branches/tags
Go to file
 
 
Cannot retrieve contributors at this time
#!/bin/bash
mkdir /root/gist
wget https://gist.githubusercontent.com/nullenc0de/96fb9e934fc16415fbda2f83f08b28e7/raw/146f367110973250785ced348455dc5173842ee4/content_discovery_nullenc0de.txt -O /root/gist/content_discovery_nullenc0de.txt
wget https://gist.githubusercontent.com/nullenc0de/538bc891f44b6e8734ddc6e151390015/raw/a6cb6c7f4fcb4b70ee8f27977886586190bfba3d/passwords.txt -O /root/gist/passwords.txt
wget https://gist.githubusercontent.com/jhaddix/86a06c5dc309d08580a018c66354a056/raw/96f4e51d96b2203f19f6381c8c545b278eaa0837/all.txt -O /root/gist/all.txt
wget https://gist.githubusercontent.com/nullenc0de/9cb36260207924f8e1787279a05eb773/raw/0197d33c073a04933c5c1e2c41f447d74d2e435b/params.txt -O /root/gist/params.txt
wget https://gist.githubusercontent.com/nullenc0de/5dbc5a9c653a03fccfcea4f030a47442/raw/21cac60c3a781b694a37009c89ebd7930aaa061a/altdns.txt -O /root/gist/altdns.txt
#update
apt update
apt install python3-pip -y
apt-get install python3-venv libxml2 libxml2-dev libz-dev libxslt1-dev python3-dev -y
apt-get install libcurl4-openssl-dev libpcre3-dev libssh-dev -y
apt-get install libpcap-dev
# FINDOMAIN
wget https://github.com/Edu4rdSHL/findomain/releases/latest/download/findomain-linux
chmod +x findomain-linux
mv findomain-linux findomain
sudo mv findomain /usr/bin/
# DNSGEN
pip3 install dnsgen
#screen
sudo apt-get install screen -y
Empire
apt install powershell-empire
#Brutespray
apt-get install brutespray -y
#commix
sudo apt-get install commix -y
#sqlmap
sudo apt-get install sqlmap -y
# Gobuster
apt-get install -y gobuster
# Nmap
apt-get install -y nmap
# Amass
apt-get install -y amass
# Masscan
apt-get install -y masscan
#Kadimus
git clone https://github.com/P0cL4bs/Kadimus.git /opt/Kadimus || git -C /opt/kadimus pull
cd /opt/Kadimus
make
cd ..
# Arjun
git clone https://github.com/s0md3v/Arjun.git /opt/Arjun || git -C /opt/parameth pull
ln -s /opt/Arjun/arjun.py /usr/local/bin/arjun
chmod +x /usr/local/bin/arjun
# Linkfinder
git clone https://github.com/GerbenJavado/LinkFinder.git || git -C /opt/LinkFinder pull
cd /opt/LinkFinder
python3 setup.py install
cd ..
GO111MODULE=on go get -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei
ln -s /root/go/bin/nuclei /usr/local/bin/nuclei
apt install -y npm
npm install -g source-map-unpack
#cme
#apt-get install python3-venv
#python3 -m pip install pipx
#pipx ensurepath
#pipx install crackmapexec
apt install crackmapexec
#tehbucketeer
sudo git clone https://github.com/abhaybhargav/bucketeer.git /opt/bucketeer || git -C /opt/bucketeer pull
export GOPATH=/opt/jaeles-project
go get github.com/jaeles-project/jaeles
ln -s /opt/jaeles-project/bin/jaeles /usr/local/bin/jaeles
jaeles config init
export GOPATH=/opt/pentest-tools
git clone https://github.com/gwen001/pentest-tools.git /opt/pentest-tools
ln -s /opt/pentest-tools/domain-finder.py /usr/local/bin/domain-finder
pip3 install -r /opt/pentest-tools/requirements2.txt
pip3 install -r /opt/pentest-tools/requirements3.txt
export GOPATH=/opt/bbscope
go get -u github.com/sw33tLie/bbscope
ln -s /opt/bbscope/bin/bbscope /usr/local/bin/bbscope
export GOPATH=/opt/ssrf-finder
go get -u github.com/random-robbie/ssrf-finder
ln -s /opt/ssrf-finder/bin/ssrf-finder /usr/local/bin/ssrf-finder
export GOPATH=/opt/httpx
go get -v github.com/projectdiscovery/httpx/cmd/httpx
ln -s /opt/httpx/bin/httpx /usr/local/bin/httpx
export GOPATH=/opt/wildcheck
go get -u github.com/theblackturtle/wildcheck
ln -s /opt/wildcheck/bin/wildcheck /usr/local/bin/wildcheck
export GOPATH=/opt/dnsx
go get -v github.com/projectdiscovery/dnsx/cmd/dnsx
ln -s /opt/dnsx/bin/dnsx /usr/local/bin/dnsx
export GOPATH=/opt/mapcidr
go get -v github.com/projectdiscovery/mapcidr/cmd/mapcidr
ln -s /opt/mapcidr/bin/mapcidr /usr/local/bin/mapcidr
export GOPATH=/opt/subjs
go get -u -v github.com/lc/subjs
ln -s /opt/subjs/bin/subjs /usr/local/bin/subjs
export GOPATH=/opt/kxss
go get -u github.com/tomnomnom/hacks/kxss
ln -s /opt/kxss/bin/kxss /usr/local/bin/kxss
export GOPATH=/opt/cswsh-scanner
go get -v -u github.com/ambalabanov/cswsh-scanner/...
ln -s /opt/cswsh-scanner/bin/cswsh-scanner /usr/local/bin/cswsh-scanner
export GOPATH=/opt/naabu
go get -v github.com/projectdiscovery/naabu/v2/cmd/naabu
ln -s /opt/naabu/bin/naabu /usr/local/bin/naabu
export GOPATH=/opt/gospider
go get -u github.com/jaeles-project/gospider
ln -s /opt/gospider/bin/gospider /usr/local/bin/gospider
wget https://github.com/jaeles-project/gospider/releases/download/1.1.5/gospider_1.1.5_linux_x86_64.zip
unzip gospider_1.1.5_linux_x86_64.zip
rm gospider_1.1.5_linux_x86_64.zip
mv gospider_1.1.5_linux_x86_64/gospider /opt/gospider/bin/gospider
rm -rf gospider_1.1.5_linux_x86_64
export GOPATH=/opt/filter-resolved
go get -u github.com/tomnomnom/hacks/filter-resolved
ln -s /opt/filter-resolved/bin/filter-resolved /usr/local/bin/filter-resolved
export GOPATH=/opt/dalfox
GO111MODULE=on go get -v github.com/hahwul/dalfox/v2
ln -s /opt/dalfox/bin/dalfox /usr/local/bin/dalfox
export GOPATH=/opt/unfurl
go get -u github.com/tomnomnom/hacks/unfurl
ln -s /opt/unfurl/bin/unfurl /usr/local/bin/unfurl
export GOPATH=/opt/puredns
go get -u github.com/d3mondev/puredns/v2
ln -s /opt/puredns/bin/puredns /usr/local/bin/puredns
export GOPATH=/opt/cidr2ip
go get -u github.com/codeexpress/cidr2ip
ln -s /opt/cidr2ip/bin/cidr2ip /usr/local/bin/cidr2ip
export GOPATH=/opt/anti-burl
go get -u github.com/tomnomnom/hacks/anti-burl
ln -s /opt/anti-burl/bin/anti-burl /usr/local/bin/anti-burl
export GOPATH=/opt/interactsh
go get -u github.com/projectdiscovery/interactsh/cmd/interactsh-client
ln -s /opt/interactsh/bin/interactsh-client /usr/local/bin/interactsh-client
export GOPATH=/opt/goverview
go get github.com/j3ssie/goverview
ln -s /opt/goverview/bin/goverview /usr/local/bin/goverview
export GOPATH=/opt/ffuf
go get -u github.com/ffuf/ffuf
ln -s /opt/ffuf/bin/ffuf /usr/local/bin/ffuf
export GOPATH=/opt/get-title
go get -u github.com/tomnomnom/hacks/get-title
ln -s /opt/get-title/bin/get-title /usr/local/bin/get-title
export GOPATH=/opt/gau
go get -u github.com/lc/gau
ln -s /opt/gau/bin/gau /usr/local/bin/gau
export GOPATH=/opt/tko-subs
go get github.com/anshumanbh/tko-subs
ln -s /opt/tko-subs/bin/tko-subs /usr/local/bin/tko-subs
export GOPATH=/opt/webanalyze
go get -u github.com/rverton/webanalyze/...
ln -s /opt/webanalyze/bin/webanalyze /usr/local/bin/webanalyze
export GOPATH=/opt/otxurls
go get -u github.com/lc/otxurls
ln -s /opt/otxurls/bin/otxurls /usr/local/bin/otxurls
export GOPATH=/opt/hakrawler
go get github.com/hakluke/hakrawler
ln -s /opt/hakrawler/bin/hakrawler /usr/local/bin/hakrawler
export GOPATH=/opt/qsreplace
go get -u github.com/tomnomnom/qsreplace
ln -s /opt/qsreplace/bin/qsreplace /usr/local/bin/qsreplace
#subjack
export GOPATH=/opt/subjack
go get github.com/haccer/subjack
ln -s /opt/subjack/bin/subjack /usr/local/bin/subjack
#gwdomains
export GOPATH=/opt/gwdomains
go get -u github.com/fuzzerk/gwdomains
ln -s /opt/gwdomains/bin/gwdomains /usr/local/bin/gwdomains
#tok
export GOPATH=/opt/tok
go get -u github.com/tomnomnom/hacks/tok
ln -s /opt/tok/bin/tok /usr/local/bin/tok
#fff
export GOPATH=/opt/fff
go get -u github.com/tomnomnom/hacks/fff
ln -s /opt/fff/bin/fff /usr/local/bin/fff
# HTTProbe
export GOPATH=/opt/httprobe
go get -u github.com/tomnomnom/httprobe
ln -s /opt/httprobe/bin/httprobe /usr/local/bin/httprobe
# FProbe
export GOPATH=/opt/fprobe
go get -u github.com/theblackturtle/fprobe
ln -s /opt/fprobe/bin/fprobe /usr/local/bin/fprobe
# Waybackurls
export GOPATH=/opt/waybackurls
go get -u github.com/tomnomnom/waybackurls
ln -s /opt/waybackurls/bin/waybackurls /usr/local/bin/waybackurls
#goaltdns
export GOPATH=/opt/goaltdns
go get -u github.com/subfinder/goaltdns
ln -s /opt/goaltdns/bin/goaltdns /usr/local/bin/goaltdns
export GOPATH=/opt/httpx2bbrf
go get -v -u github.com/z0mb13s3c/httpx2bbrf
ln -s /opt/httpx2bbrf/bin/httpx2bbrf /usr/local/bin/httpx2bbrf
# Gf
export GOPATH=/opt/gf
go get -u github.com/tomnomnom/gf
ln -s /opt/gf/bin/gf /usr/local/bin/gf
git clone https://github.com/1ndianl33t/Gf-Patterns /opt/Gf-Patterns || git -C /opt/Gf-Patterns pull
mkdir ~/.gf
mv /opt/Gf-Patterns/*.json ~/.gf
# Assetfinder
export GOPATH=/opt/assetfinder
go get -u github.com/tomnomnom/assetfinder
ln -s /opt/assetfinder/bin/assetfinder /usr/local/bin/assetfinder
# Anew
export GOPATH=/opt/anew
go get -u github.com/tomnomnom/anew
ln -s /opt/anew/bin/anew /usr/local/bin/anew
# Html-tool
export GOPATH=/opt/html-tool
go get -u github.com/tomnomnom/hacks/html-tool
ln -s /opt/html-tool/bin/html-tool /usr/local/bin/html-tool
# Gowitness
export GOPATH=/opt/gowitness
go get -u github.com/sensepost/gowitness
ln -s /opt/gowitness/bin/gowitness /usr/local/bin/gowitness
# Dirsearch
git clone https://github.com/maurosoria/dirsearch.git /opt/dirsearch || git -C /opt/dirsearch pull
ln -s /opt/dirsearch/dirsearch.py /usr/local/bin/dirsearch
chmod +x /usr/local/bin/dirsearch
# Seclist
git clone https://github.com/danielmiessler/SecLists.git /opt/SecLists || git -C /opt/SecLists pull
#dnsvalidator
git clone https://github.com/vortexau/dnsvalidator.git || git -C /opt/dnsvalidator pull
cd dnsvalidator
pip3 install -r requirements.txt
python3 setup.py install
cd ..
# SubBrute
git clone https://github.com/TheRook/subbrute.git /opt/subbrute || git -C /opt/subbrute pull
ln -s /opt/subbrute/subbrute.py /usr/local/bin/subbrute
chmod +x /usr/local/bin/subbrute
# Massdns
git clone https://github.com/blechschmidt/massdns.git /opt/massdns || git -C /opt/massdns pull
cd massdns
make
make install
cd ..
# Striker
git clone https://github.com/s0md3v/Striker.git /opt/striker || git -C /opt/striker pull
pip3 install -r /opt/striker/requirements.txt
ln -s /opt/striker/striker.py /usr/local/bin/striker
chmod +x /usr/local/bin/striker
#github search
git clone https://github.com/gwen001/github-search.git || git -C /opt/github-search pull
pip3 install -r /opt/github-search/requirements2.txt
pip3 install -r /opt/github-search/requirements3.txt
# XSStrike
git clone https://github.com/s0md3v/XSStrike.git /opt/xsstrike || git -C /opt/xsstrike pull
pip3 install -r /opt/xsstrike/requirements.txt
ln -s /opt/xsstrike/xsstrike.py /usr/local/bin/xsstrike
chmod +x /usr/local/bin/xsstrike
#slackcat
wget https://github.com/bcicen/slackcat/releases/download/1.7.1/slackcat-1.7.1-linux-amd64
mv slackcat-1.7.1-linux-amd64 /usr/local/bin/slackcat
chmod +x /usr/local/bin/slackcat
#Configure MSF
sudo service postgresql start
msfdb init
#Snp13r
git clone https://github.com/1N3/Sn1per.git /opt/Sn1per || git -C /opt/Sn1per pull
bash /opt/Sn1per/install.sh