├── .gitattributes ├── README.md └── vps_install.sh /.gitattributes: -------------------------------------------------------------------------------- 1 | # Auto detect text files and perform LF normalization 2 | * text=auto 3 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # VPS-Install 2 | 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" 3 | 4 | # Use 5 | 6 | 1. clone the repo. 7 | 2. run following command: sh vps_install.sh 8 | 3. Enjoy! 9 | 10 | If you face any issues for installation, please reach out to me at Twitter @harshbothra_ -------------------------------------------------------------------------------- /vps_install.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | systemctl enable ssh; 4 | systemctl start ssh; 5 | service ssh start; 6 | apt-get install gpg-agent; 7 | echo "deb http://http.kali.org/kali kali-rolling main contrib non-free" > /etc/apt/sources.list; 8 | gpg --keyserver hkp://keys.gnupg.net --recv-key 7D8D0BF6; 9 | gpg --fingerprint 7D8D0BF6; 10 | gpg -a --export 7D8D0BF6 | apt-key add -; 11 | apt update; 12 | apt-get -y --allow-unauthenticated install kali-archive-keyring; 13 | apt-get -y update; 14 | apt-get -y install kali-linux-everything; 15 | apt-get update && apt-get upgrade; 16 | wget https://dl.google.com/go/go1.14.6.linux-amd64.tar.gz; 17 | sudo tar -xvf go1.14.6.linux-amd64.tar.gz; 18 | sudo mv go /usr/local; 19 | export GOROOT=/usr/local/go; 20 | export GOPATH=$HOME/go; 21 | export PATH=$GOPATH/bin:$GOROOT/bin:$PATH; 22 | sudo apt-get install python3; 23 | sudo apt-get install python3-pip; 24 | sudo apt-get install ruby; 25 | sudo apt-get install screen; 26 | sudo apt-get install git; 27 | mkdir /root/.gf 28 | mkdir /root/Tools; 29 | mkdir /root/Recon; 30 | dir=/root/Tools; 31 | go get -u github.com/m4ll0k/Aron; 32 | go get github.com/Ice3man543/SubOver; 33 | git clone https://github.com/tomnomnom/hacks $dir/hacks; 34 | git clone https://github.com/tomnomnom/gf $dir/gf; 35 | git clone https://github.com/zdresearch/OWASP-Nettacker $dir/OWASP-Nettacker; 36 | go get -u github.com/tomnomnom/assetfinder; 37 | go get -u github.com/tomnomnom/fff; 38 | go get github.com/tomnomnom/hacks/filter-resolved; 39 | go get -u github.com/tomnomnom/hacks/gittrees; 40 | go get github.com/tomnomnom/hacks/waybackurls; 41 | go get -u github.com/tomnomnom/hacks/unisub; 42 | go get -u -v github.com/lukasikic/subzy; 43 | go install -v github.com/lukasikic/subzy; 44 | go get -u github.com/tomnomnom/unfurl; 45 | go get github.com/tomnomnom/burl; 46 | go get -u github.com/tomnomnom/meg; 47 | go get -u github.com/j3ssie/metabigor; 48 | go get -u github.com/rverton/webanalyze; 49 | pip install requests; 50 | go get -u github.com/c-bata/go-prompt; 51 | go get github.com/hahwul/websocket-connection-smuggler; 52 | GO111MODULE=on go get -u -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei; 53 | git clone https://github.com/projectdiscovery/nuclei-templates $dir/nuclei-templates; 54 | go get github.com/haccer/subjack; 55 | go get github.com/eth0izzle/shhgit; 56 | GO111MODULE=on go get -v github.com/projectdiscovery/subfinder/cmd/subfinder; 57 | go get github.com/tiagorlampert/CHAOS; 58 | GO111MODULE=on go get -u github.com/projectdiscovery/chaos-client/cmd/chaos; 59 | GO111MODULE=on go get -u -v github.com/hahwul/dalfox; 60 | go get github.com/ffuf/ffuf; 61 | GO111MODULE=on go get -u -v github.com/lc/gau; 62 | go get -u github.com/tomnomnom/gf; 63 | cp -r /usr/local/go/src/github.com/tomnomnom/gf/examples ~/.gf/; 64 | go get github.com/003random/getJS; 65 | go get github.com/subfinder/goaltdns; 66 | go get github.com/OJ/gobuster; 67 | go get -u github.com/sensepost/gowitness; 68 | go get -u github.com/jaeles-project/gospider; 69 | go get github.com/hakluke/hakcheckurl; 70 | go get github.com/hakluke/hakrawler; 71 | go get github.com/hakluke/hakrevdns; 72 | go get -u github.com/tomnomnom/httprobe; 73 | GO111MODULE=on go get -u -v github.com/projectdiscovery/httpx/cmd/httpx; 74 | git clone https://github.com/udit-thakkur/AdvancedKeyHacks $dir/AdvancedKeyHacks; 75 | git clone https://github.com/streaak/keyhacks $dir/keyhacks; 76 | git clone https://github.com/s0md3v/Arjun $dir/Arjun; 77 | git clone https://github.com/NullArray/AutoSploit $dir/AutoSploit; 78 | git clone https://github.com/devanshbatham/FavFreak $dir/FavFreak; 79 | git clone https://github.com/MichaelStott/CRLF-Injection-Scanner $dir/CRLF-Injection-Scanner; 80 | git clone https://github.com/1N3/BruteX $dir/BruteX; 81 | git clone https://github.com/AlexisAhmed/BugBountyTools $dir/BugBountyTools; 82 | git clone https://github.com/gwen001/BBvuln $dir/BBvuln; 83 | git clone https://github.com/D35m0nd142/LFISuite $dir/LFISuite; 84 | git clone https://github.com/GerbenJavado/LinkFinder $dir/LinkFinder; 85 | git clone https://github.com/pwn0sec/PwnXSS $dir/PwnXSS; 86 | git clone https://github.com/hahwul/XSpear $dir/XSpear; 87 | git clone https://github.com/jordanpotti/CloudScraper $dir/CloudScraper; 88 | git clone https://github.com/swisskyrepo/SSRFmap $dir/SSRFmap; 89 | git clone https://github.com/m4ll0k/SecretFinder $dir/SecretFinder; 90 | git clone https://github.com/s0md3v/Striker $dir/Striker; 91 | git clone https://github.com/devanshbatham/ParamSpider $dir/ParamSpider; 92 | git clone https://github.com/j3ssie/Osmedeus $dir/Osmedeus; 93 | git clone https://github.com/codingo/NoSQLMap $dir/NoSQLMap; 94 | git clone https://github.com/nsonaniya2010/SubDomainizer $dir/SubDomainizer; 95 | git clone https://github.com/s0md3v/XSStrike $dir/XSStrike; 96 | GO111MODULE=on go get -u -v github.com/projectdiscovery/dnsprobe; 97 | git clone https://github.com/maurosoria/dirsearch $dir/dirsearch; 98 | git clone https://github.com/dwisiswant0/apkleaks $dir/apkleaks; 99 | git clone https://github.com/ozguralp/gmapsapiscanner $dir/gmapsapiscanner; 100 | git clone https://github.com/defparam/smuggler $dir/smuggler; 101 | git clone https://github.com/epsylon/Smuggler $dir/epsylon_Smuggler; 102 | git clone https://github.com/kowainik/smuggler $dir/kowa_smuggler; 103 | GO111MODULE=on go get -u -v github.com/projectdiscovery/shuffledns/cmd/shuffledns; 104 | git clone https://github.com/p4pentest/crtsh $dir/crtsh; 105 | git clone https://github.com/XecLabs/Theif $dir/Theif; 106 | git clone https://github.com/YashGoti/crtsh.py $dir/crtsh.py; 107 | git clone https://github.com/epinna/tplmap $dir/tplmap; 108 | git clone https://github.com/xmendez/wfuzz $dir/wfuzz; 109 | git clone https://github.com/secdec/xssmap $dir/xssmap; 110 | git clone https://github.com/hahwul/websocket-connection-smuggler $dir/websocket-connection-smuggler; 111 | git clone https://github.com/rastating/wordpress-exploit-framework $dir/wordpress-exploit-framework; 112 | git clone https://github.com/1ndianl33t/Gf-Patterns; 113 | mv /root/Gf-Patterns/*.json /root/.gf/; 114 | rm -rf /root/Gf-Patterns; 115 | wget https://raw.githubusercontent.com/devanshbatham/ParamSpider/master/gf_profiles/potential.json; 116 | mv /root/potential.json /root/.gf/; 117 | echo 'source /usr/local/go/src/github.com/tomnomnom/gf/gf-completion.bash' >> ~/.bashrc; 118 | echo " 119 | alias osmedeus='python3 /root/Tools/Osmedeus/osmedeus.py -m "subdomain,portscan,vuln,git,burp,ip" -t' 120 | 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' 121 | alias ffuf=/root/go/bin/ffuf 122 | alias antiburl=/root/go/bin/anti-burl 123 | alias kxss=/root/Tools/hacks/kxss/kxss 124 | alias gittrees=/root/Tools/hacks/gittrees/gittrees 125 | alias hakrawler=/root/go/bin/hakrawler 126 | alias hakrevdns=/root/go/bin/hakrevdns 127 | alias hakcheckurl=/root/go/bin/hakcheckurl 128 | alias githound=/root/Tools/git-hound/git-hound 129 | alias httpx=/root/go/bin/httpx 130 | alias resolver=/root/arsenal/resolver.sh 131 | alias subunique=/root/arsenal/unique_lister.sh 132 | alias gau=/root/go/bin/gau 133 | alias secretfinder='python3 /root/Tools/SecretFinder/SecretFinder.py' 134 | alias qsreplace=/root/go/bin/qsreplace 135 | alias nuclei=/root/go/bin/nuclei 136 | alias nuclear=/root/arsenal/nuclear.sh 137 | alias givesecrets=/root/arsenal/givesecrets.sh 138 | alias getsec=/root/arsenal/getsec.sh 139 | alias rex=/root/arsenal/rex.sh 140 | alias gmapi='python3 /root/Tools/gmapsapiscanner/maps_api_scanner_python3.py' 141 | alias Bheem=/root/arsenal/Bheem.sh 142 | alias reverse=/root/arsenal/reverse.sh 143 | alias corsy=/root/arsenal/corsy.sh 144 | " >> /root/.bashrc; 145 | echo " 146 | export GOROOT=/usr/local/go 147 | export GOPATH=$HOME/go 148 | export PATH=$GOPATH/bin:$GOROOT/bin:$PATH 149 | " >> /root/.bashrc; 150 | cd; 151 | git clone https://github.com/harsh-bothra/Bheem.git; 152 | mv /root/Bheem/arsenal /root/; 153 | chmod +x /root/arsenal/*; 154 | rm -rf /root/Bheem; 155 | #. ~/.bashrc; 156 | echo " Don't Forget to run ' source ~/.bashrc ' after completion" 157 | echo "Configure subfinder /root/.config/subfinder/config.yaml" 158 | echo "Update key /root/arsenal/extractor.sh" 159 | --------------------------------------------------------------------------------