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

config path fix

six2dez7dc03c860149
diff --git a/reconftw.sh b/reconftw.sh
index 4eccff9..70d8f18 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -1988,7 +1988,7 @@ while true; do
continue
;;
'-f')
- config_file=$2
+ config_file=$2
shift 2
continue
;;
@@ -2016,7 +2016,8 @@ done
if [ -s "$config_file" ]; then
. "${config_file}"
else
- . ./reconftw.cfg
+ SCRIPTPATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
+ . "$SCRIPTPATH"/reconftw.cfg
fi
if [ $opt_deep ]; then
diff --git a/reconftw_axiom.sh b/reconftw_axiom.sh
index e7e3fc3..bbbb4b1 100755
--- a/reconftw_axiom.sh
+++ b/reconftw_axiom.sh
@@ -2136,7 +2136,8 @@ done
if [ -s "$config_file" ]; then
. "${config_file}"
else
- . ./reconftw.cfg
+ SCRIPTPATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )"
+ . "$SCRIPTPATH"/reconftw.cfg
fi
if [ $opt_deep ]; then