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
Small fixes
six2dez1773e6bad01c
diff --git a/reconftw.config b/reconftw.configindex ab17d8d..59a3696 100644--- a/reconftw.config+++ b/reconftw.config@@ -24,9 +24,9 @@ AMASS_CONFIG=~/.config/amass/config.iniGITHUB_TOKENS=${tools}/.github_tokens# APIs/TOKENS-SHODAN_API_KEY=XXXXXXXXXXXXX-XSS_SERVER=XXXXXXXXXXXXXXXXX-COLLAB_SERVER=XXXXXXXXXXXXXXXXX+#SHODAN_API_KEY=XXXXXXXXXXXXX+#XSS_SERVER=XXXXXXXXXXXXXXXXX+#COLLAB_SERVER=XXXXXXXXXXXXXXXXXfindomain_virustotal_token=XXXXXXXXXXXXXXXXXfindomain_spyse_token=XXXXXXXXXXXXXXXXXfindomain_securitytrails_token=XXXXXXXXXXXXXXXXXdiff --git a/reconftw.sh b/reconftw.shindex 8d6730a..bdcc9b8 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -221,7 +221,9 @@ function emails(){printf "${bgreen}#######################################################################\n"printf "${bblue} Emails search ${reset}\n"start=`date +%s`- eval python3 $tools/theHarvester/theHarvester.py -d $domain -b all $DEBUG_ERROR > .tmp/harvester.txt+ cd $tools/theHarvester+ eval python3 theHarvester.py -d $domain -b all $DEBUG_ERROR > $dir/.tmp/harvester.txt+ cd $dircat .tmp/harvester.txt | awk '/Emails/,/Hosts/' | sed -e '1,2d' | head -n -2 | anew -q osint/emails.txtcat .tmp/harvester.txt | awk '/Users/,/IPs/' | sed -e '1,2d' | head -n -2 | anew -q osint/users.txtcat .tmp/harvester.txt | awk '/Links/,/Users/' | sed -e '1,2d' | head -n -2 | anew -q osint/linkedin.txt@@ -527,7 +529,7 @@ function webprobe_full(){if [ "$NUMOFLINES" -gt 0 ]; thentext="${bred}\n Uncommon web ports: ${NUMOFLINES} new websites in ${runtime}${reset}\n\n"printf "${text}" && printf "${text}" | $NOTIFY- eval cat webs/probed_uncommon_ports.txt $DEBUG_ERROR+ eval cat webs/webs_uncommon_ports.txt $DEBUG_ERRORfiprintf "${bblue}\n Web Probe Finished\n"printf "${bblue} Results are saved in webs/webs_uncommon_ports.txt${reset}\n"@@ -567,12 +569,11 @@ function favicon(){printf "${bblue} FavIcon Hash Extraction ${reset}\n\n"start=`date +%s`cd $tools/fav-up- eval shodan init $SHODAN_API_KEY $DEBUG_STDeval python3 favUp.py -w $domain -sc -o favicontest.json $DEBUG_STDif [ -f "favicontest.json" ]thencat favicontest.json | eval jq -r '.found_ips' $DEBUG_ERROR | grep -v "not-found" > favicontest.txt- eval sed -i "s/|/\n/g" favicontest.txt $DEBUG_ERROR+ sed -i "s/|/\n/g" favicontest.txteval cat favicontest.txt $DEBUG_ERROReval mv favicontest.txt $dir/hosts/favicontest.txt $DEBUG_ERROReval rm favicontest.json $DEBUG_ERROR@@ -624,7 +625,6 @@ function portscan(){getElapsedTime $start $endtext="${bblue}\n Port scan Finished in ${runtime}${reset}\n"printf "${text}" && printf "${text}" | $NOTIFY- eval cat webs/probed_uncommon_ports.txt $DEBUG_ERRORprintf "${bblue} Results are saved in portscan_[passive|active].txt${reset}\n"printf "${bgreen}#######################################################################\n\n"else@@ -752,7 +752,7 @@ function params(){printf "${yellow}\n\n Running : Checking ${domain} with Arjun${reset}\n"eval arjun -i .tmp/param_tmp.txt -t 20 -oT webs/param.txt $DEBUG_STD && touch $called_fn_dir/.${FUNCNAME[0]}else- cp .tmp/param_tmp.txt webs/param.txt+ cp .tmp/param_tmp.txt webs/param.txt && touch $called_fn_dir/.${FUNCNAME[0]}fifiend=`date +%s`@@ -1037,7 +1037,7 @@ function ssrf_checks(){end=`date +%s`getElapsedTime $start $endprintf "${bblue}\n SSRF Finished in ${runtime}, check your callback server\n"- printf "${bblue} Results are saved in ssrf.txt ${reset}\n"+ printf "${bblue} Results are saved in vulns/ssrf.txt ${reset}\n"elseprintf "${bred} Skipping SSRF: Too Much URLs to test, try with --deep flag${reset}\n"fi