Last active
June 4, 2020 21:58
-
-
Save rbshadow/4e9eb186284227e4fd3f683cff0ac373 to your computer and use it in GitHub Desktop.
This file contains 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/bash | |
#~: Basic Stuff Setup:~# | |
sudo apt -y install phantomjs whatweb bc locate dnsutils apache2 tree jq curl git sqlmap | |
# fff | |
git clone https://github.com/dylanaraps/fff | |
cd fff | |
make install | |
# dnsgen | |
git clone https://github.com/ProjectAnte/dnsgen | |
cd dnsgen | |
pip3 install -r requirements.txt | |
python3 setup.py install | |
# Update browser settings to chromium | |
sudo update-alternatives --config x-www-browser | |
#~: Go Setup:~# | |
# Put these into .bashrc of root | |
# export GOPATH=$HOME/go | |
# PATH=$GOPATH/bin:$PATH | |
# export GOROOT=/root/.go | |
# export GOPATH=/root/go | |
# export PATH=$PATH:$GOROOT/bin:$GOPATH/bin | |
#~: Python Stuff Setup:~# | |
#~Ref~: https://dev.to/serhatteker/how-to-install-virtualenv-on-ubuntu-18-04-2jdi | |
sudo apt-get install python3-pip | |
sudo pip3 install virtualenv | |
sudo pip3 install boto wfuzz google wafw00f truffleHog | |
# cd $YOUR_PROJECT_DIRECTORY | |
# virtualenv .venv | |
# source .venv/bin/activate | |
# deactivate | |
#~: Hunting Env Setup: 14 tools ~# | |
echo "[!] Downloading and Setup ffuf Tools" | |
go get github.com/ffuf/ffuf | |
echo "Downloading and Setup lc Tools" | |
#~Ref~: https://github.com/lc | |
GO111MODULE=on go get -u -v github.com/lc/gau | |
echo "[!] Downloading and Setup tomnomnom Tools" | |
#~Ref~: https://github.com/tomnomnom | |
go get github.com/tomnomnom/waybackurls | |
go get -u github.com/tomnomnom/meg | |
go get -u github.com/tomnomnom/httprobe | |
go get -u github.com/tomnomnom/assetfinder | |
go get -u github.com/tomnomnom/dnsgrep | |
go get -u github.com/tomnomnom/unfurl | |
go get -u github.com/tomnomnom/gf | |
go get -u github.com/tomnomnom/hacks/html-tool | |
go get -u github.com/tomnomnom/hacks/ettu | |
echo "[!] Downloading and Setup projectdiscovery Tools" | |
#~Ref~: https://github.com/projectdiscovery | |
go get -v github.com/projectdiscovery/subfinder/cmd/subfinder | |
go get -v github.com/projectdiscovery/naabu/cmd/naabu | |
GO111MODULE=on go get -u -v github.com/projectdiscovery/nuclei/cmd/nuclei | |
echo "[!] Downloading Wordlist" | |
#~Ref~: https://gist.github.com/khanjanny/ | |
wget "https://drive.google.com/uc?export=download&id=1X1TTZhxfiLyqrI1Vrw0_DdhFfl3LzsbX" -O all_resolvers.zip | |
wget "https://drive.google.com/uc?export=download&id=1KbxiE_RFZCDpBDKAJbWeG6NXe7YNtCIc" -O all_wordlists.zip | |
# cat targets.txt | while read line; do gobuster -f -k -e -to 5s -t 40 -w ~/tools/wordlists/starter.txt -u "$line" | tee out.txt ; done | |
echo "[!] Downloading and Setup subdomain-takeover Tools" | |
go get github.com/Ice3man543/SubOver | |
go get github.com/haccer/subjack | |
git clone https://github.com/antichown/subdomain-takeover.git | |
git clone https://github.com/antichown/takeover.git |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment