From 32d26ac39b8b732f06d94a97092c514e3f85ab79 Mon Sep 17 00:00:00 2001 From: "Mr.Doel" Date: Sun, 22 Dec 2019 11:06:09 +0800 Subject: [PATCH 1/4] Install Amass, subfinder, and github-subdomain --- install.sh | 62 ++++++++++++++++++++++++++++++++++-------------------- 1 file changed, 39 insertions(+), 23 deletions(-) diff --git a/install.sh b/install.sh index e203de7..f32fd39 100644 --- a/install.sh +++ b/install.sh @@ -37,26 +37,26 @@ select choice in "${choices[@]}"; do case $choice in 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 - sudo mv go /usr/local - export GOROOT=/usr/local/go - export GOPATH=$HOME/go - export PATH=$GOPATH/bin:$GOROOT/bin:$PATH - echo 'export GOROOT=/usr/local/go' >> ~/.bash_profile - echo 'export GOPATH=$HOME/go' >> ~/.bash_profile - echo 'export PATH=$GOPATH/bin:$GOROOT/bin:$PATH' >> ~/.bash_profile - source ~/.bash_profile - sleep 1 - break - ;; - no) - echo "Please install go and rerun this script" - echo "Aborting installation..." - exit 1 - ;; - esac + 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 + sudo mv go /usr/local + export GOROOT=/usr/local/go + export GOPATH=$HOME/go + export PATH=$GOPATH/bin:$GOROOT/bin:$PATH + echo 'export GOROOT=/usr/local/go' >> ~/.bash_profile + echo 'export GOPATH=$HOME/go' >> ~/.bash_profile + echo 'export PATH=$GOPATH/bin:$GOROOT/bin:$PATH' >> ~/.bash_profile + source ~/.bash_profile + sleep 1 + break + ;; + no) + echo "Please install go and rerun this script" + echo "Aborting installation..." + exit 1 + ;; + esac done fi @@ -72,6 +72,8 @@ echo "Don't forget to set up AWS credentials!" mkdir ~/tools cd ~/tools/ + + #install aquatone echo "Installing Aquatone" go get github.com/michenriksen/aquatone @@ -116,6 +118,7 @@ cd ~/tools/ echo "done" + echo "installing lazys3" git clone https://github.com/nahamsec/lazys3.git cd ~/tools/ @@ -160,18 +163,32 @@ pip install -r requirements.txt cd ~/tools/ echo "done" +echo "installing github subdomain" +wget https://raw.githubusercontent.com/gwen001/github-search/master/github-subdomains.py +cd ~/tools/ +echo "done" + echo "installing httprobe" -go get -u github.com/tomnomnom/httprobe +go get -u github.com/tomnomnom/httprobe echo "done" echo "installing unfurl" -go get -u github.com/tomnomnom/unfurl +go get -u github.com/tomnomnom/unfurl echo "done" echo "installing waybackurls" go get github.com/tomnomnom/waybackurls echo "done" +echo "installing subfinder" +go get -v github.com/projectdiscovery/subfinder/cmd/subfinder +echo "done" + +echo "installing amass" +export GO111MODULE=on +go get -v -u github.com/OWASP/Amass/v3/... +echo "done" + echo "installing crtndstry" git clone https://github.com/nahamsec/crtndstry.git echo "done" @@ -186,7 +203,6 @@ cd ~/tools/ echo "done" - echo -e "\n\n\n\n\n\n\n\n\n\n\nDone! All tools are set up in ~/tools" ls -la echo "One last time: don't forget to set up AWS credentials in ~/.aws/!" From 09af69bd181dfde3cf70ebe803135b759cd88c56 Mon Sep 17 00:00:00 2001 From: "Mr.Doel" Date: Sun, 22 Dec 2019 11:10:43 +0800 Subject: [PATCH 2/4] update golang install Addes Install amass, subdinfer and github-subdomain --- install.sh | 44 ++++++++++++++++++++++---------------------- 1 file changed, 22 insertions(+), 22 deletions(-) diff --git a/install.sh b/install.sh index f32fd39..4ff351d 100644 --- a/install.sh +++ b/install.sh @@ -37,26 +37,26 @@ select choice in "${choices[@]}"; do case $choice in 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 - sudo mv go /usr/local - export GOROOT=/usr/local/go - export GOPATH=$HOME/go - export PATH=$GOPATH/bin:$GOROOT/bin:$PATH - echo 'export GOROOT=/usr/local/go' >> ~/.bash_profile - echo 'export GOPATH=$HOME/go' >> ~/.bash_profile - echo 'export PATH=$GOPATH/bin:$GOROOT/bin:$PATH' >> ~/.bash_profile - source ~/.bash_profile - sleep 1 - break - ;; - no) - echo "Please install go and rerun this script" - echo "Aborting installation..." - exit 1 - ;; - esac + echo "Installing Golang" + wget https://dl.google.com/go/go1.13.5.linux-amd64.tar.gz + sudo tar -xvf go1.13.5.linux-amd64.tar.gz + sudo mv go /usr/local + export GOROOT=/usr/local/go + export GOPATH=$HOME/go + export PATH=$GOPATH/bin:$GOROOT/bin:$PATH + echo 'export GOROOT=/usr/local/go' >> ~/.bash_profile + echo 'export GOPATH=$HOME/go' >> ~/.bash_profile + echo 'export PATH=$GOPATH/bin:$GOROOT/bin:$PATH' >> ~/.bash_profile + source ~/.bash_profile + sleep 1 + break + ;; + no) + echo "Please install go and rerun this script" + echo "Aborting installation..." + exit 1 + ;; + esac done fi @@ -169,11 +169,11 @@ cd ~/tools/ echo "done" echo "installing httprobe" -go get -u github.com/tomnomnom/httprobe +go get -u github.com/tomnomnom/httprobe echo "done" echo "installing unfurl" -go get -u github.com/tomnomnom/unfurl +go get -u github.com/tomnomnom/unfurl echo "done" echo "installing waybackurls" From 5d2238d1880569eea63709d5166ef09b28032b61 Mon Sep 17 00:00:00 2001 From: "Mr.Doel" Date: Sun, 22 Dec 2019 11:26:04 +0800 Subject: [PATCH 3/4] update by Mr.Doel --- README.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/README.md b/README.md index f37e3fc..8a8ad10 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,11 @@ +# UPDATE BY MR.DOEL 22/12/2019 + +- Golang Version +- Amass +- Subfinder +- Github-subdomain +- gobuster + # BBHT Bug Bounty Hunting Tools is a script to install the most popular tools used while looking for vulnerabilities for a bug bounty program. From 36c8dfb253441d75e18f4c594052fdf69ae6b670 Mon Sep 17 00:00:00 2001 From: "Mr.Doel" Date: Sun, 22 Dec 2019 11:54:53 +0800 Subject: [PATCH 4/4] install gobuster --- install.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/install.sh b/install.sh index 4ff351d..4e87c6b 100644 --- a/install.sh +++ b/install.sh @@ -180,6 +180,10 @@ echo "installing waybackurls" go get github.com/tomnomnom/waybackurls echo "done" +echo "installing gobuster" +go get github.com/OJ/gobuster +echo "done" + echo "installing subfinder" go get -v github.com/projectdiscovery/subfinder/cmd/subfinder echo "done"