From 4cab6df76c9390ed618123aa40692df848f33a5e Mon Sep 17 00:00:00 2001 From: PanwarM Date: Tue, 14 Apr 2020 00:40:57 +0530 Subject: [PATCH 1/4] Update installation for GO and Subfinder Adding subfinder installation and updating GO installation steps to fetch most latest GO version always. --- install.sh | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index e203de7..19ffe5d 100644 --- a/install.sh +++ b/install.sh @@ -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 -u github.com/subfinder/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 From fc20725b5ae81406e129440c79829e1de9b21b13 Mon Sep 17 00:00:00 2001 From: PanwarM Date: Tue, 14 Apr 2020 00:45:37 +0530 Subject: [PATCH 2/4] Correcting bash_profile typo --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 19ffe5d..941224b 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" From 821dd2d386dc3897d97d6e5639386f0c149f6be7 Mon Sep 17 00:00:00 2001 From: PanwarM Date: Tue, 14 Apr 2020 00:56:07 +0530 Subject: [PATCH 3/4] Update for subfinder --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 941224b..90de31b 100644 --- a/install.sh +++ b/install.sh @@ -75,7 +75,7 @@ cd ~/tools/ #install subfinder echo "Installing subfinder" -go get -u github.com/subfinder/subfinder +go get -v github.com/projectdiscovery/subfinder/cmd/subfinder echo -e "[+] Set up API keys for subfinder...if you wish to!" echo "done" From 281edad11263920a2e2d40bdf9531f19318d91bb Mon Sep 17 00:00:00 2001 From: PanwarM Date: Tue, 14 Apr 2020 00:57:33 +0530 Subject: [PATCH 4/4] updates for subfinder --- README.md | 1 + 1 file changed, 1 insertion(+) 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