Skip to content

Instantly share code, notes, and snippets.

@hariyopmail
Forked from dat1063/tool.sh
Created September 13, 2020 11:59
Show Gist options
  • Select an option

  • Save hariyopmail/977098b17fc5a26320cf7e30f3581bfe to your computer and use it in GitHub Desktop.

Select an option

Save hariyopmail/977098b17fc5a26320cf7e30f3581bfe to your computer and use it in GitHub Desktop.
#!/bin/bash
bash caithem.sh
RED=$(tput setaf 1)
GREEN=$(tput setaf 2)
BLUE=$(tput setaf 4)
RESET=$(tput sgr0)
AMASS_VERSION=3.8.2
echo "${RED} ######################################################### ${RESET}"
echo "${RED} # TOOLS FOR BUG BOUNTY # ${RESET}"
echo "${RED} ######################################################### ${RESET}"
logo(){
echo "${BLUE}
___ ___ _ _ _____ ___
| _ ) _ ) || |_ _|_ _|_ )
| _ \ _ \ __ | | | \ V // /
|___/___/_||_| |_| \_//___| ${RESET}"
}
logo
echo ""
echo "${GREEN} Tools created by the best people in the InfoSec Community ${RESET}"
echo "${GREEN} Thanks to everyone! ${RESET}"
echo ""
echo "${GREEN} [+] Updating and installing dependencies ${RESET}"
echo ""
sudo apt-get -y update
sudo apt-get -y upgrade
sudo add-apt-repository -y ppa:apt-fast/stable < /dev/null
sudo echo debconf apt-fast/maxdownloads string 16 | debconf-set-selections
sudo echo debconf apt-fast/dlflag boolean true | debconf-set-selections
sudo echo debconf apt-fast/aptmanager string apt-get | debconf-set-selections
sudo apt install -y apt-fast
sudo apt-fast install -y apt-transport-https libcurl4-openssl-dev libssl-dev jq ruby-full libcurl4-openssl-dev libxml2 libxml2-dev libxslt1-dev ruby-dev build-essential libgmp-dev zlib1g-dev build-essential libssl-dev libffi-dev python-dev python-setuptools libldns-dev libldns-dev python3-pip python-dnspython git nmap phantomjs net-tools network-manager vim nano gem perl parallel
curl -sL https://deb.nodesource.com/setup_14.x | sudo -E bash -
sudo apt-get install -y nodejs
pip3 install jsbeautifier
echo ""
echo ""
sar 1 1 >/dev/null
#Setting shell functions/aliases
echo "${GREEN} [+] Setting bash_profile aliases ${RESET}"
curl https://raw.githubusercontent.com/unethicalnoob/aliases/master/bashprofile > ~/.bash_profile
echo "${BLUE} If it doesn't work, set it manually ${RESET}"
echo ""
echo ""
sar 1 1 >/dev/null
echo "${GREEN} [+] Installing Golang ${RESET}"
if [ ! -f /usr/bin/go ];then
cd ~
wget -q -O - https://raw.githubusercontent.com/canha/golang-tools-install-script/master/goinstall.sh | bash
export GOROOT=$HOME/.go
export PATH=$GOROOT/bin:$PATH
export GOPATH=$HOME/go
echo 'export GOROOT=$HOME/.go' >> ~/.bash_profile
echo 'export GOPATH=$HOME/go' >> ~/.bash_profile
echo 'export PATH=$GOPATH/bin:$GOROOT/bin:$PATH' >> ~/.bash_profile
source ~/.bash_profile
else
echo "${BLUE} Golang is already installed${RESET}"
fi
break
echo""
echo "${BLUE} Done Install Golang ${RESET}"
echo ""
echo ""
sar 1 1 >/dev/null
#Installing tools
echo "${RED} #################### ${RESET}"
echo "${RED} # Installing tools # ${RESET}"
echo "${RED} #################### ${RESET}"
echo "${GREEN} #### Basic Tools #### ${RESET}"
#install altdns
echo "${BLUE} installing altdns ${RESET}"
sudo pip3 install py-altdns
echo "${BLUE} done${RESET}"
echo ""
#install nmap
echo "${BLUE} installing nmap${RESET}"
sudo apt-fast install -y nmap
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} downloading virtual host discovery${RESET}"
echo "${BLUE} done${RESET}"
echo ""
#install sqlmap
echo "${BLUE} installing sqlmap${RESET}"
sudo apt-fast install sqlmap
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} downloading knockpy${RESET}"
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing knock2${RESET}"
go get -u github.com/harleo/knockknock
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} downloading asnlookup${RESET}"
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing metabigor${RESET}"
go get -u github.com/j3ssie/metabigor
echo "${BLUE} done${RESET}"
sar 1 1 >/dev/null
echo ""
echo "${GREEN}#### Installing fuzzing tools ####${RESET}"
#install gobuster
echo "${BLUE} installing gobuster${RESET}"
sudo go get -u github.com/OJ/gobuster
echo "${BLUE} done${RESET}"
echo ""
#install ffuf
echo "${BLUE} installing ffuf${RESET}"
go get -u github.com/ffuf/ffuf
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing dirsearch${RESET}"
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing wfuzz${RESET}"
sudo apt-fast install wfuzz
echo "${BLUE} done${RESET}"
echo ""
sar 1 1 >/dev/null
echo "${GREEN}#### Installing Domain Enum Tools ####${RESET}"
#install aquatone
echo "${BLUE} Installing Aquatone ${RESET}"
go get -u github.com/michenriksen/aquatone
echo "${BLUE} done ${RESET}"
echo ""
#install subDomainizer
echo "${BLUE} subdomainizer ${RESET}"
echo "${BLUE} done ${RESET}"
echo ""
#install domain_analyzer
echo "${BLUE} domain_analyzer ${RESET}"
echo "${BLUE} done ${RESET}"
echo ""
#install massdns
echo "${BLUE} Installing massdns ${RESET}"
echo "${BLUE} done ${RESET}"
echo ""
pip install shodan
#install subjack
echo "${BLUE} installing subjack ${RESET}"
go get -u github.com/haccer/subjack
echo "${BLUE} done ${RESET}"
echo ""
echo "${BLUE} installing Sublister ${RESET}"
echo "${BLUE} done ${RESET}"
echo ""
echo "${BLUE} installing Subover ${RESET}"
go get -u github.com/Ice3man543/SubOver
echo "${BLUE} done ${RESET}"
echo ""
echo "${BLUE} installing spyse ${RESET}"
sudo pip3 install spyse.py
echo "${BLUE} done ${RESET}"
echo ""
sar 1 1 >/dev/null
echo "${GREEN} #### Installing CORS Tools #### ${RESET}"
echo "${BLUE} installing corsy ${RESET}"
echo "${BLUE} done ${RESET}"
echo ""
echo "${BLUE} installing cors-scanner ${RESET}"
echo "${BLUE} done ${RESET}"
echo ""
echo "${BLUE} installing another cors scanner${RESET}"
go get -u github.com/Tanmay-N/CORS-Scanner
echo "${BLUE} done${RESET}"
echo ""
sar 1 1 >/dev/null
echo "${GREEN} #### Installing XSS Tools#### ${RESET}"
echo "${BLUE} installing dalfox${RESET}"
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing XSStrike${RESET}"
echo "${BLUE} done${RESET}"
echo ""
#Xspear for XSS
echo "${BLUE} installing XSpear${RESET}"
sudo gem install XSpear
sudo gem install colorize
sudo gem install selenium-webdriver
sudo gem install terminal-table
sudo gem install progress_bar
echo "${BLUE} done${RESET}"
echo ""
#traxss
echo "${BLUE} downloading traxss${RESET}"
echo "${BLUE} done${RESET}"
echo ""
sar 1 1 >/dev/null
echo "${GREEN} #### Installing Cloud workflow Tools #### ${RESET}"
echo "${BLUE} Instaliing awscli${RESET}"
sudo pip3 install awscli --upgrade --user
echo "${BLUE} Don't forget to set up AWS credentials!${RESET}"
echo "${BLUE} done${RESET}"
echo ""
#install s3-buckets-finder
echo "${BLUE} s3-buckets-finder${RESET}"
echo "${BLUE} done${RESET}"
echo ""
#install lazys3
echo "${BLUE} lazys3${RESET}"
echo "${BLUE} done${RESET}"
echo ""
#install DumpsterDiver
echo "${BLUE} DumpsterDiver${RESET}"
echo "${BLUE} done${RESET}"
echo ""
#install S3Scanner
echo "${BLUE} installing S3Scanner${RESET}"
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing Cloudflair${RESET}"
echo "${GREEN} #### Installing CMS Tools #### ${RESET}"
#install CMSmap
echo "${BLUE} installing CMSmap${RESET}"
#install CMSeek
echo "${BLUE} installing CMSeek${RESET}"
echo "${BLUE} done${RESET}"
echo ""
#install Joomscan
echo "${BLUE} installing Joomscan${RESET}"
echo "${BLUE} done${RESET}"
echo ""
#install wpscan
echo "${BLUE} installing wpscan${RESET}"
sudo gem install wpscan
echo "${BLUE} done${RESET}"
echo ""
#install droopescan
echo "${BLUE} installing droopescan${RESET}"
sudo pip3 install droopescan
echo "${BLUE} done${RESET}"
echo ""
#install drupwn
echo "${BLUE} installing drupwn${RESET}"
echo ""
echo "${BLUE} Adobe scanner${RESET}"
echo "${BLUE} done${RESET}"
echo ""
sar 1 1 >/dev/null
bash /content/drive/"My Drive"/bug-bountycaithem.sh
echo "${GREEN}#### Other Tools ####${RESET}"
echo "${BLUE} installing SSRFMap ${RESET}"
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing XSRFProbe${RESET}"
sudo pip3 install xsrfprobe
echo "${BLUE} done${RESET}"
echo ""
#install JSParser
echo "${BLUE} installing JSParser${RESET}"
echo "${BLUE} done${RESET}"
echo ""
#install subjs
echo "${BLUE} installing subjs${RESET}"
go get -u github.com/lc/subjs
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing broken-link-checker${RESET}"
sudo npm install broken-link-checker -g
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing pwncat${RESET}"
sudo pip3 install pwncat
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing Photon${RESET}"
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing hakrawler${RESET}"
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing webtech${RESET}"
sudo pip3 install webtech
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing gau${RESET}"
go get -u github.com/lc/gau
echo "${BLUE} done${RESET}"
echo ""
echo "${GREEN}#### ProjectDiscovery Pinned Tools ####${RESET}"
echo "${BLUE} installing naabu${RESET}"
go get -u github.com/projectdiscovery/naabu/cmd/naabu
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing dnsprobe${RESET}"
go get -u github.com/projectdiscovery/dnsprobe
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing nuclei${RESET}"
go get -u github.com/projectdiscovery/nuclei/cmd/nuclei
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing subfinder${RESET}"
go get -u github.com/projectdiscovery/subfinder/cmd/subfinder
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing httpx${RESET}"
go get -u github.com/projectdiscovery/httpx/cmd/httpx
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing shuffledns${RESET}"
go get -u github.com/projectdiscovery/shuffledns/cmd/shuffledns
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing chaos-client${RESET}"
go get -u github.com/projectdiscovery/chaos-client/cmd/chaos
echo "${BLUE} done${RESET}"
echo ""
sar 1 1 >/dev/null
echo "${GREEN} #### Downloading wordlists #### ${RESET}"
echo "${GREEN} #### Installing tomnomnom tools #### ${RESET}"
echo "${GREEN} check out his other tools as well ${RESET}"
echo "${BLUE} installing meg${RESET}"
go get -u github.com/tomnomnom/meg
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing assetfinder${RESET}"
go get -u github.com/tomnomnom/assetfinder
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing waybackurls${RESET}"
go get -u github.com/tomnomnom/waybackurls
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing gf${RESET}"
go get -u github.com/tomnomnom/gf
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing httprobe${RESET}"
go get -u github.com/tomnomnom/httprobe
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing concurl${RESET}"
go get -u github.com/tomnomnom/hacks/concurl
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing unfurl${RESET}"
go get -u github.com/tomnomnom/unfurl
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing anti-burl${RESET}"
go get -u github.com/tomnomnom/hacks/anti-burl
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing filter-resolved${RESET}"
go get github.com/tomnomnom/hacks/filter-resolved
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing fff${RESET}"
go get -u github.com/tomnomnom/fff
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing qsreplace${RESET}"
go get -u github.com/tomnomnom/qsreplace
echo "${BLUE} done${RESET}"
echo ""
sar 1 1 >/dev/null
echo "${GREEN} #### Other other Tools #### ${RESET}"
echo "${BLUE} installing cf-check${RESET}"
go get -u github.com/dwisiswant0/cf-check
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing Urlprobe${RESET}"
go get -u github.com/1ndianl33t/urlprobe
echo "${BLUE} done${RESET}"
echo ""
echo "${BLUE} installing amass${RESET}"
cd ~ && echo -e "Downloading amass version ${AMASS_VERSION} ..." && wget -q https://github.com/OWASP/Amass/releases/download/v${AMASS_VERSION}/amass_linux_amd64.zip && unzip amass_linux_amd64.zip && mv amass_linux_amd64/amass /usr/bin/
cd ~ && rm -rf amass_linux_amd64* amass_linux_amd64.zip*
echo "${BLUE} done${RESET}"
echo ""
unzip -q temp.zip &&
echo "${GREEN} use the command 'source ~/.bash_profile' for the shell functions to work ${RESET}"
echo ""
echo "${GREEN} ALL THE TOOLS ARE MADE BY THE BEST PEOPLE OF THE INFOSEC COMMUNITY ${RESET}"
echo ""
echo "${GREEN} I AM JUST A SCRIPT-KIDDIE ;) ${RESET}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment