Skip to content

reconFTW is a tool designed to perform automated recon on a target domain by running the best set of tools to perform scanning and finding out vulnerabilities

golang latest on installer

six2dezc5480b72fcd3
diff --git a/install.sh b/install.sh
index 5b99e5c..a6efafa 100755
--- a/install.sh
+++ b/install.sh
@@ -137,8 +137,7 @@ elif [ -f /etc/os-release ]; then install_yum; #/etc/os-release fall in yum for
fi
# Installing latest Golang version
-#version=$(curl -s https://golang.org/VERSION?m=text)
-version=go1.15.10
+version=$(curl -s https://golang.org/VERSION?m=text)
printf "${bblue} Running: Installing/Updating Golang ${reset}\n\n"
if [[ $(eval type go $DEBUG_ERROR | grep -o 'go is') == "go is" ]] && [ "$version" = $(go version | cut -d " " -f3) ]
then
@@ -185,6 +184,7 @@ eval ln -s /usr/local/bin/pip3 /usr/bin/pip3 $DEBUG_STD
eval pip3 install -I -r requirements.txt $DEBUG_STD
printf "${bblue} Running: Installing Golang tools (${#gotools[@]})${reset}\n\n"
+go env -w GO111MODULE=auto
go_step=0
for gotool in "${!gotools[@]}"; do
go_step=$((go_step + 1))