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
Minor fixes 2
six2dezce2ac7d3c375
diff --git a/reconftw.sh b/reconftw.shindex 1315a42..a17408c 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -235,11 +235,11 @@ subdomains_full(){NUMOFLINES_probed=$(wc -l < ${domain}_probed.txt)fiprintf "${bblue}\n Final results: ${reset}\n"- printf "${bred}\n - ${NUMOFLINES_subs} alive subdomains${reset}\n\n" | notify -silent+ printf "${bred}\n - ${NUMOFLINES_subs} alive subdomains${reset}\n\n" | tee notify -silenteval cat ${domain}_subdomains.txt $DEBUG_ERROR | sort- printf "${bred}\n - ${NUMOFLINES_probed} web probed${reset}\n\n" | notify -silent+ printf "${bred}\n - ${NUMOFLINES_probed} web probed${reset}\n\n" | tee notify -silenteval cat ${domain}_probed.txt $DEBUG_ERROR | sort- printf "${bblue}\n Subdomain Enumeration Finished\n" | notify -silent+ printf "${bblue}\n Subdomain Enumeration Finished\n" | tee notify -silentprintf "${bblue} Results are saved in ${domain}_subdomains.txt and ${domain}_probed.txt${reset}\n"printf "${bgreen}#######################################################################\n\n"}@@ -291,9 +291,9 @@ sub_crt(){eval rm ${outputfile}.txt $DEBUG_ERRORcd $dirif [ "$FULLSCOPE" = true ] ; then- curl "https://tls.bufferover.run/dns?q=${domain}" 2>/dev/null | jq -r .Results[] | cut -d ',' -f3 | sort -u | anew -q crtsh_subs.txt+ eval curl "https://tls.bufferover.run/dns?q=${domain}" $DEBUG_ERROR | eval jq -r .Results[] $DEBUG_ERROR | cut -d ',' -f3 | sort -u | anew -q crtsh_subs.txtelse- curl "https://tls.bufferover.run/dns?q=${domain}" 2>/dev/null | jq -r .Results[] | cut -d ',' -f3 | sort -u | grep -F ".$domain" | anew -q crtsh_subs.txt+ eval curl "https://tls.bufferover.run/dns?q=${domain}" $DEBUG_ERROR | eval jq -r .Results[] $DEBUG_ERROR | cut -d ',' -f3 | sort -u | grep -F ".$domain" | anew -q crtsh_subs.txtfiNUMOFLINES=$(wc -l < crtsh_subs.txt)end=`date +%s`@@ -438,7 +438,7 @@ subtakeover(){elseNUMOFLINES=0fi- printf "${bred}\n Subtko: ${NUMOFLINES} subdomains in ${runtime}${reset}\n\n" | notify -silent+ printf "${bred}\n Subtko: ${NUMOFLINES} subdomains in ${runtime}${reset}\n\n" | tee notify -silenteval cat ${domain}_takeover.txt $DEBUG_ERRORprintf "${bblue}\n Subdomain Takeover Finished\n"printf "${bblue} Results are saved in ${domain}_takeover.txt${reset}\n"@@ -535,7 +535,7 @@ nuclei_check(){printf "\n\n"end=`date +%s`getElapsedTime $start $end- printf "${bblue}\n Nuclei Scan Finished in ${runtime}\n" | notify -silent+ printf "${bblue}\n Nuclei Scan Finished in ${runtime}\n" | tee notify -silentprintf "${bblue} Results are saved in ${domain}_nuclei_*.txt files${reset}\n"printf "${bgreen}#######################################################################\n\n"else@@ -571,8 +571,8 @@ urlchecks(){end=`date +%s`getElapsedTime $start $endNUMOFLINES=$(wc -l < ${domain}_url_extract.txt)- printf "${bblue}\n URL Extraction Finished\n" | notify -silent- printf "${bblue}\n ${NUMOFLINES} in ${runtime}\n" | notify -silent+ printf "${bblue}\n URL Extraction Finished\n" | tee notify -silent+ printf "${bblue}\n ${NUMOFLINES} in ${runtime}\n" | tee notify -silentprintf "${bblue} Results are saved in ${domain}_url_extract.txt${reset}\n"printf "${bgreen}#######################################################################\n\n"else@@ -1006,7 +1006,7 @@ end(){global_end=`date +%s`getElapsedTime $global_start $global_endprintf "${bgreen}#######################################################################\n"- printf "${bred} Finished Recon on: ${domain} under ${finaldir} in: ${runtime} ${reset}\n" | notify -silent+ printf "${bred} Finished Recon on: ${domain} under ${finaldir} in: ${runtime} ${reset}\n" | tee notify -silentprintf "${bgreen}#######################################################################\n"}