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

Error check for bad golang version

six2dez8658c64aae18
diff --git a/install.sh b/install.sh
index 64c42e1..386aaea 100755
--- a/install.sh
+++ b/install.sh
@@ -208,7 +208,8 @@ fi
# Installing latest Golang version
version=$(curl -L -s https://golang.org/VERSION?m=text)
-#version="go1.17.6"
+[[ $version = g* ]] || version="go1.20.3"
+
printf "${bblue} Running: Installing/Updating Golang ${reset}\n\n"
if [ "$install_golang" = "true" ]; then
if [[ $(eval type go $DEBUG_ERROR | grep -o 'go is') == "go is" ]] && [[ "$version" = $(go version | cut -d " " -f3) ]]