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 new installer 1

six2dez607543ee6d1b
diff --git a/install.sh b/install.sh
index 75fbaab..6441a80 100755
--- a/install.sh
+++ b/install.sh
@@ -88,6 +88,13 @@ install_pacman(){
eval $SUDO systemctl enable --now tor.service $DEBUG_STD
}
+printf "${yellow} Running: Installing system packages ${reset}\n\n"
+if [ -f /etc/debian_version ]; then install_apt;
+elif [ -f /etc/redhat-release ]; then install_yum;
+elif [ -f /etc/arch-release ]; then install_pacman;
+elif [ -f /etc/os-release ]; then install_yum; #/etc/os-release fall in yum for some RedHat and Amazon Linux instances
+fi
+
# Installing latest Golang version
version=$(curl -s https://golang.org/VERSION?m=text)
eval type -P go $DEBUG_STD || { golang_installed=false; }
@@ -136,13 +143,6 @@ fi
[ -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; }
[ -n "$GOROOT" ] || { printf "${bred} GOROOT 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; }
-printf "${yellow} Running: Installing system packages ${reset}\n\n"
-if [ -f /etc/debian_version ]; then install_apt;
-elif [ -f /etc/redhat-release ]; then install_yum;
-elif [ -f /etc/arch-release ]; then install_pacman;
-elif [ -f /etc/os-release ]; then install_yum; #/etc/os-release fall in yum for some RedHat and Amazon Linux instances
-fi
-
printf "${yellow} Running: Installing requirements ${reset}\n\n"
mkdir -p ~/.gf