Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

recon_profile, golang installation, golang update #54

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
recon_profile, golang installation, golang update
  • Loading branch information
thetowsif committed Aug 19, 2022
commit 3dbf31ef93cbf0b9109003b6e8769624ffc01717
12 changes: 12 additions & 0 deletions fix-note.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
While i was installing bbht it was not creating ".bash_profile" aliases, i had to fix the code everytime is create a vps or vm.
And now im facing problem while installing bbht GOLANG tools as GOLANG version 1.17.5 does'nt suppport 'go get', instead it used 'go install github.com/user/toolName@latest'

So i made some small changes to use it in easy was!

# Fix 1 : Bash profile
# Fix 2 : Golang tools installation
# Fix 3 : Golang version updated




12 changes: 6 additions & 6 deletions install.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand All @@ -38,7 +38,7 @@ select choice in "${choices[@]}"; do
yes)

echo "Installing Golang"
wget https://dl.google.com/go/go1.13.4.linux-amd64.tar.gz
wget https://go.dev/dl/go1.19.linux-amd64.tar.gz
sudo tar -xvf go1.13.4.linux-amd64.tar.gz
sudo mv go /usr/local
export GOROOT=/usr/local/go
Expand Down Expand Up @@ -74,7 +74,7 @@ cd ~/tools/

#install aquatone
echo "Installing Aquatone"
go get github.com/michenriksen/aquatone
go install github.com/michenriksen/aquatone@latest
echo "done"

#install chromium
Expand Down Expand Up @@ -161,15 +161,15 @@ cd ~/tools/
echo "done"

echo "installing httprobe"
go get -u github.com/tomnomnom/httprobe
go install github.com/tomnomnom/httprobe@latest
echo "done"

echo "installing unfurl"
go get -u github.com/tomnomnom/unfurl
go install github.com/tomnomnom/unfurl@latest
echo "done"

echo "installing waybackurls"
go get github.com/tomnomnom/waybackurls
go install github.com/tomnomnom/waybackurls@latest
echo "done"

echo "installing crtndstry"
Expand Down