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

Fix golang installer

six2dez004fade25ee7
diff --git a/install.sh b/install.sh
index 6ea2d77..37f03f2 100755
--- a/install.sh
+++ b/install.sh
@@ -338,7 +338,7 @@ elif [ -f /etc/os-release ]; then install_yum; #/etc/os-release fall in yum for
fi
# Installing latest Golang version
-version=$(curl -L -s https://golang.org/VERSION?m=text)
+version=$(curl -L -s https://golang.org/VERSION?m=text | head -1)
[[ $version = g* ]] || version="go1.20.3"
printf "${bblue} Running: Installing/Updating Golang ${reset}\n\n"