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

Fixes #421

six2dez15db61fb7c51
diff --git a/reconftw.sh b/reconftw.sh
index b95ddc4..32875bc 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -2623,11 +2623,10 @@ while true; do
done
# This is the first thing to do to read in alternate config
+SCRIPTPATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
+. "$SCRIPTPATH"/reconftw.cfg
if [ -s "$config_file" ]; then
. "${config_file}"
-else
- SCRIPTPATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
- . "$SCRIPTPATH"/reconftw.cfg
fi
if [ $opt_deep ]; then