You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -57,6 +57,9 @@ if [[ $(eval type go $DEBUG_ERROR | grep -o 'go is') == "go is" ]]
57
57
$SUDO cp /usr/local/go/bin/go /usr/bin
58
58
fi
59
59
rm -rf go$LATEST_GO*
60
+
export GOROOT=/usr/local/go
61
+
export GOPATH=$HOME/go
62
+
export PATH=$GOPATH/bin:$GOROOT/bin:$PATH
60
63
if [ -f~/.bashrc ]
61
64
then
62
65
cat <<EOF >> ~/.bashrc
@@ -78,8 +81,8 @@ export GOPATH=\$HOME/go
78
81
export PATH=\$GOPATH/bin:\$GOROOT/bin:\$PATH
79
82
EOF
80
83
fi
81
-
printf"${yellow} Golang installed! Open a new terminal and run again this script ${reset}\n"
82
-
exit
84
+
#printf "${yellow} Golang installed! Open a new terminal and run again this script ${reset}\n"
85
+
#exit
83
86
fi
84
87
85
88
[ -n"$GOPATH" ] || { printf"${bred} GOPATH env var not detected, add Golang env vars to your \$HOME/.bashrc or \$HOME/.zshrc:\n\n export GOROOT=/usr/local/go\n export GOPATH=\$HOME/go\n export PATH=\$GOPATH/bin:\$GOROOT/bin:\$PATH\n\n";exit 1; }
@@ -122,7 +125,6 @@ eval go get -v github.com/tomnomnom/qsreplace $DEBUG_STD
122
125
eval GO111MODULE=on go get -v github.com/OWASP/Amass/v3/... $DEBUG_STD
123
126
eval go get -v github.com/ffuf/ffuf $DEBUG_STD
124
127
eval go get -v github.com/tomnomnom/assetfinder $DEBUG_STD
125
-
eval GO111MODULE=on go get -v github.com/projectdiscovery/naabu/v2/cmd/naabu $DEBUG_STD
126
128
printf"${bgreen} 10%% done${reset}\n\n"
127
129
eval go get -v github.com/dwisiswant0/cf-check $DEBUG_STD
128
130
eval go get -v github.com/tomnomnom/hacks/waybackurls $DEBUG_STD
@@ -149,6 +151,7 @@ eval go get -v github.com/lc/gau $DEBUG_STD
149
151
eval GO111MODULE=on go get -u -v github.com/lc/subjs $DEBUG_STD
150
152
eval go get -v github.com/KathanP19/Gxss $DEBUG_STD
0 commit comments