-
-
Save ruevaughn/4286874b1901e402b11e2744a5b622dc to your computer and use it in GitHub Desktop.
Quick script to install all the required tools over a VPS (tested on DEBIAN). It will install a Kali OS over the VPS and will install tools in a directory called "Tools". I run this script as "Root" and paths are hardcoded to "/root/Tools"
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
systemctl enable ssh; | |
systemctl start ssh; | |
service ssh start; | |
apt-get install gpg-agent; | |
echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list; | |
gpg --keyserver hkp://keys.gnupg.net --recv-key 7D8D0BF6; | |
gpg --fingerprint 7D8D0BF6; | |
gpg -a --export 7D8D0BF6 | apt-key add -; | |
apt update; | |
apt-get -y --allow-unauthenticated install kali-archive-keyring; | |
apt-get -y update; | |
apt-get -y install kali-linux-everything; | |
apt-get update && apt-get upgrade; | |
wget https://dl.google.com/go/go1.14.6.linux-amd64.tar.gz; | |
sudo tar -xvf go1.14.6.linux-amd64.tar.gz; | |
sudo mv go /usr/local; | |
export GOROOT=/usr/local/go; | |
export GOPATH=$HOME/go; | |
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH; | |
sudo apt-get install python3; | |
sudo apt-get install python3-pip; | |
sudo apt-get install ruby; | |
sudo apt-get install screen; | |
sudo apt-get install git; | |
mkdir /root/.gf | |
mkdir /root/Tools; | |
mkdir /root/Recon; | |
dir=/root/Tools; | |
go get -u github.com/m4ll0k/Aron; | |
go get github.com/Ice3man543/SubOver; | |
git clone https://github.com/tomnomnom/hacks $dir/hacks; | |
git clone https://github.com/tomnomnom/gf $dir/gf; | |
git clone https://github.com/zdresearch/OWASP-Nettacker $dir/OWASP-Nettacker; | |
go get -u github.com/tomnomnom/assetfinder; | |
go get -u github.com/tomnomnom/fff; | |
go get github.com/tomnomnom/hacks/filter-resolved; | |
go get -u github.com/tomnomnom/hacks/gittrees; | |
go get github.com/tomnomnom/hacks/waybackurls; | |
go get -u github.com/tomnomnom/hacks/unisub; | |
go get -u -v github.com/lukasikic/subzy; | |
go install -v github.com/lukasikic/subzy; | |
go get -u github.com/tomnomnom/unfurl; | |
go get github.com/tomnomnom/burl; | |
go get -u github.com/tomnomnom/meg; | |
go get -u github.com/j3ssie/metabigor; | |
go get -u github.com/rverton/webanalyze; | |
pip install requests; | |
go get -u github.com/c-bata/go-prompt; | |
go get github.com/hahwul/websocket-connection-smuggler; | |
GO111MODULE=on go get -u -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei; | |
git clone https://github.com/projectdiscovery/nuclei-templates $dir/nuclei-templates; | |
go get github.com/haccer/subjack; | |
go get github.com/eth0izzle/shhgit; | |
GO111MODULE=on go get -v github.com/projectdiscovery/subfinder/cmd/subfinder; | |
go get github.com/tiagorlampert/CHAOS; | |
GO111MODULE=on go get -u github.com/projectdiscovery/chaos-client/cmd/chaos; | |
GO111MODULE=on go get -u -v github.com/hahwul/dalfox; | |
go get github.com/ffuf/ffuf; | |
GO111MODULE=on go get -u -v github.com/lc/gau; | |
go get -u github.com/tomnomnom/gf; | |
cp -r /usr/local/go/src/github.com/tomnomnom/gf/examples ~/.gf/; | |
go get github.com/003random/getJS; | |
go get github.com/subfinder/goaltdns; | |
go get github.com/OJ/gobuster; | |
go get -u github.com/sensepost/gowitness; | |
go get -u github.com/jaeles-project/gospider; | |
go get github.com/hakluke/hakcheckurl; | |
go get github.com/hakluke/hakrawler; | |
go get github.com/hakluke/hakrevdns; | |
go get -u github.com/tomnomnom/httprobe; | |
GO111MODULE=on go get -u -v github.com/projectdiscovery/httpx/cmd/httpx; | |
git clone https://github.com/udit-thakkur/AdvancedKeyHacks $dir/AdvancedKeyHacks; | |
git clone https://github.com/streaak/keyhacks $dir/keyhacks; | |
git clone https://github.com/s0md3v/Arjun $dir/Arjun; | |
git clone https://github.com/NullArray/AutoSploit $dir/AutoSploit; | |
git clone https://github.com/devanshbatham/FavFreak $dir/FavFreak; | |
git clone https://github.com/MichaelStott/CRLF-Injection-Scanner $dir/CRLF-Injection-Scanner; | |
git clone https://github.com/1N3/BruteX $dir/BruteX; | |
git clone https://github.com/AlexisAhmed/BugBountyTools $dir/BugBountyTools; | |
git clone https://github.com/gwen001/BBvuln $dir/BBvuln; | |
git clone https://github.com/D35m0nd142/LFISuite $dir/LFISuite; | |
git clone https://github.com/GerbenJavado/LinkFinder $dir/LinkFinder; | |
git clone https://github.com/pwn0sec/PwnXSS $dir/PwnXSS; | |
git clone https://github.com/hahwul/XSpear $dir/XSpear; | |
git clone https://github.com/jordanpotti/CloudScraper $dir/CloudScraper; | |
git clone https://github.com/swisskyrepo/SSRFmap $dir/SSRFmap; | |
git clone https://github.com/m4ll0k/SecretFinder $dir/SecretFinder; | |
git clone https://github.com/s0md3v/Striker $dir/Striker; | |
git clone https://github.com/devanshbatham/ParamSpider $dir/ParamSpider; | |
git clone https://github.com/j3ssie/Osmedeus $dir/Osmedeus; | |
git clone https://github.com/codingo/NoSQLMap $dir/NoSQLMap; | |
git clone https://github.com/nsonaniya2010/SubDomainizer $dir/SubDomainizer; | |
git clone https://github.com/s0md3v/XSStrike $dir/XSStrike; | |
GO111MODULE=on go get -u -v github.com/projectdiscovery/dnsprobe; | |
git clone https://github.com/maurosoria/dirsearch $dir/dirsearch; | |
git clone https://github.com/dwisiswant0/apkleaks $dir/apkleaks; | |
git clone https://github.com/ozguralp/gmapsapiscanner $dir/gmapsapiscanner; | |
git clone https://github.com/defparam/smuggler $dir/smuggler; | |
git clone https://github.com/epsylon/Smuggler $dir/epsylon_Smuggler; | |
git clone https://github.com/kowainik/smuggler $dir/kowa_smuggler; | |
GO111MODULE=on go get -u -v github.com/projectdiscovery/shuffledns/cmd/shuffledns; | |
git clone https://github.com/p4pentest/crtsh $dir/crtsh; | |
git clone https://github.com/XecLabs/Theif $dir/Theif; | |
git clone https://github.com/YashGoti/crtsh.py $dir/crtsh.py; | |
git clone https://github.com/epinna/tplmap $dir/tplmap; | |
git clone https://github.com/xmendez/wfuzz $dir/wfuzz; | |
git clone https://github.com/secdec/xssmap $dir/xssmap; | |
git clone https://github.com/hahwul/websocket-connection-smuggler $dir/websocket-connection-smuggler; | |
git clone https://github.com/rastating/wordpress-exploit-framework $dir/wordpress-exploit-framework; | |
git clone https://github.com/1ndianl33t/Gf-Patterns; | |
mv /root/Gf-Patterns/*.json /root/.gf/; | |
rm -rf /root/Gf-Patterns; | |
wget https://raw.githubusercontent.com/devanshbatham/ParamSpider/master/gf_profiles/potential.json; | |
mv /root/potential.json /root/.gf/; | |
echo 'source /usr/local/go/src/github.com/tomnomnom/gf/gf-completion.bash' >> ~/.bashrc; | |
echo " | |
alias osmedeus='python3 /root/Tools/Osmedeus/osmedeus.py -m "subdomain,portscan,vuln,git,burp,ip" -t' | |
alias dirsearch='python3 /root/Tools/dirsearch/dirsearch.py -e php,asp,js,aspx,jsp,py,txt,conf,config,bak,backup,swp,old,db,sql -t 300 -u' | |
alias ffuf=/root/go/bin/ffuf | |
alias antiburl=/root/go/bin/anti-burl | |
alias kxss=/root/Tools/hacks/kxss/kxss | |
alias gittrees=/root/Tools/hacks/gittrees/gittrees | |
alias hakrawler=/root/go/bin/hakrawler | |
alias hakrevdns=/root/go/bin/hakrevdns | |
alias hakcheckurl=/root/go/bin/hakcheckurl | |
alias githound=/root/Tools/git-hound/git-hound | |
alias httpx=/root/go/bin/httpx | |
alias resolver=/root/arsenal/resolver.sh | |
alias subunique=/root/arsenal/unique_lister.sh | |
alias gau=/root/go/bin/gau | |
alias secretfinder='python3 /root/Tools/SecretFinder/SecretFinder.py' | |
alias qsreplace=/root/go/bin/qsreplace | |
alias nuclei=/root/go/bin/nuclei | |
alias nuclear=/root/arsenal/nuclear.sh | |
alias givesecrets=/root/arsenal/givesecrets.sh | |
alias getsec=/root/arsenal/getsec.sh | |
alias rex=/root/arsenal/rex.sh | |
alias gmapi='python3 /root/Tools/gmapsapiscanner/maps_api_scanner_python3.py' | |
alias Bheem=/root/arsenal/Bheem.sh | |
alias reverse=/root/arsenal/reverse.sh | |
alias corsy=/root/arsenal/corsy.sh | |
" >> /root/.bashrc; | |
echo " | |
export GOROOT=/usr/local/go | |
export GOPATH=$HOME/go | |
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH | |
" >> /root/.bashrc; | |
cd; | |
git clone https://github.com/harsh-bothra/Bheem.git; | |
mv /root/Bheem/arsenal /root/; | |
chmod +x /root/arsenal/*; | |
rm -rf /root/Bheem; | |
#. ~/.bashrc; | |
echo " Don't Forget to run ' source ~/.bashrc ' after completion" | |
echo "Configure subfinder /root/.config/subfinder/config.yaml" | |
echo "Update key /root/arsenal/extractor.sh" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment