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
Shell bug-bountybugbountybugbounty-tooldnshackingnucleiosintpenetration-testingpentestpentest-toolpentestingreconreconnaissancescannersecuritysecurity-toolssubdomainsubdomain-enumerationvulnerabilities
Closes #421
six2dezf95005dbb4af
diff --git a/reconftw.cfg b/reconftw.cfgindex b64832e..2300eb1 100644--- a/reconftw.cfg+++ b/reconftw.cfg@@ -21,6 +21,7 @@ export PATH=$GOPATH/bin:$GOROOT/bin:$HOME/.local/bin:$PATH#SUBFINDER_CONFIG=~/.config/subfinder/config.yaml # No need to defineAMASS_CONFIG=~/.config/amass/config.iniGITHUB_TOKENS=${tools}/.github_tokens+#CUSTOM_CONFIG=custom_config_path.txt # In case you use a custom config file, uncomment this line and set your files path# APIs/TOKENS - Uncomment the lines you want removing the '#' at the beginning of the line#UDORK_COOKIE="c_user=XXXXXXXXXX; xs=XXXXXXXXXXXXXX"diff --git a/reconftw.sh b/reconftw.shindex 32875bc..b254173 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -2597,7 +2597,7 @@ while true; docontinue;;'-f')- config_file=$2+ CUSTOM_CONFIG=$2shift 2continue;;@@ -2625,8 +2625,8 @@ done# This is the first thing to do to read in alternate configSCRIPTPATH="$( cd "$(dirname "$0")" >/dev/null 2>&1 ; pwd -P )". "$SCRIPTPATH"/reconftw.cfg-if [ -s "$config_file" ]; then- . "${config_file}"+if [ -s "$CUSTOM_CONFIG" ]; then+ . "${CUSTOM_CONFIG}"fiif [ $opt_deep ]; then