Skip to content

Instantly share code, notes, and snippets.

@prinsharma1999
Created December 5, 2020 16:05
Show Gist options
  • Save prinsharma1999/7e151e7c33eb6d7cc660ea1ad3fd1b04 to your computer and use it in GitHub Desktop.
Save prinsharma1999/7e151e7c33eb6d7cc660ea1ad3fd1b04 to your computer and use it in GitHub Desktop.
#!/bin/bash
RED=$(tput setaf 1)
GREEN=$(tput setaf 2)
BLUE=$(tput setaf 4)
RESET=$(tput sgr0)
echo "${RED} ######################################################### ${RESET}"
echo "${RED} # TOOLS FOR BUG BOUNTY # ${RESET}"
echo "${RED} ######################################################### ${RESET}"
logo(){
echo "${BLUE}
___ ___ _ _ _____ ___
| _ ) _ ) || |_ _|_ _|_ )
| _ \ _ \ __ | | | \ V // /
|___/___/_||_| |_| \_//___| ${RESET}"
}
#install dnscan
echo "${BLUE} installing dnscan${RESET}"
git clone https://github.com/rbsec/dnscan.git ~/tools/dnscan
pip install -r ~/tools/dnscan/requirements.txt
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}"
git clone https://github.com/maurosoria/dirsearch.git ~/tools/dirsearch
echo "${BLUE} done${RESET}"
echo ""
echo "${GREEN} #### Downloading wordlists #### ${RESET}"
mkdir ~/wordlists
cd ~/wordlists
wget https://raw.githubusercontent.com/assetnote/commonspeak2-wordlists/master/subdomains/subdomains.txt
wget https://gist.githubusercontent.com/jhaddix/f64c97d0863a78454e44c2f7119c2a6a/raw/96f4e51d96b2203f19f6381c8c545b278eaa0837/all.txt
printf "${BLUE} Wordlists downloaded ${RESET}"
echo ""
echo "${GREEN} use the command 'source ~/.bash_profile' for the shell functions to work ${RESET}"
echo ""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment