diff --git a/README.md b/README.md index f37e3fc..4eaf6ee 100644 --- a/README.md +++ b/README.md @@ -21,6 +21,7 @@ Bug Bounty Hunting Tools is a script to install the most popular tools used whil - Waybackurls - Httprobe - Seclists collection +- Subfinder This script also grabs the aliases created and published here: https://github.com/nahamsec/recon_profile diff --git a/install.sh b/install.sh index e203de7..90de31b 100644 --- a/install.sh +++ b/install.sh @@ -21,7 +21,7 @@ sudo apt-get install -y xargs echo "installing bash_profile aliases from recon_profile" git clone https://github.com/nahamsec/recon_profile.git cd recon_profile -cat bash_profile >> ~/.bash_profile +cat .bash_profile >> ~/.bash_profile source ~/.bash_profile cd ~/tools/ echo "done" @@ -38,8 +38,9 @@ select choice in "${choices[@]}"; do yes) echo "Installing Golang" - wget https://dl.google.com/go/go1.13.4.linux-amd64.tar.gz - sudo tar -xvf go1.13.4.linux-amd64.tar.gz + LATEST_GO=$(wget -qO- https://golang.org/dl/ | grep -oP 'go([0-9\.]+)\.linux-amd64\.tar\.gz' | head -n 1 | grep -oP 'go[0-9\.]+' | grep -oP '[0-9\.]+' | head -c -2) + wget https://dl.google.com/go/go$LATEST_GO.linux-amd64.tar.gz + sudo tar -xvf go$LATEST_GO.linux-amd64.tar.gz sudo mv go /usr/local export GOROOT=/usr/local/go export GOPATH=$HOME/go @@ -72,6 +73,12 @@ echo "Don't forget to set up AWS credentials!" mkdir ~/tools cd ~/tools/ +#install subfinder +echo "Installing subfinder" +go get -v github.com/projectdiscovery/subfinder/cmd/subfinder +echo -e "[+] Set up API keys for subfinder...if you wish to!" +echo "done" + #install aquatone echo "Installing Aquatone" go get github.com/michenriksen/aquatone