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
Output fix, notification support 1/n
six2dez1a7ff567182b
diff --git a/install.sh b/install.shindex d330eef..972a5f2 100755--- a/install.sh+++ b/install.sh@@ -122,6 +122,7 @@ printf "${bgreen} 10%% done${reset}\n\n"eval go get -v github.com/tomnomnom/hacks/waybackurls $DEBUG_STDeval GO111MODULE=on go get -v github.com/projectdiscovery/nuclei/v2/cmd/nuclei $DEBUG_STDeval go get -v github.com/tomnomnom/anew $DEBUG_STD+eval GO111MODULE=on go get -v github.com/projectdiscovery/notify/cmd/notify $DEBUG_STDprintf "${bgreen} 20%% done${reset}\n\n"eval go get -v github.com/tomnomnom/unfurl $DEBUG_STDeval git clone https://github.com/projectdiscovery/nuclei-templates ~/nuclei-templates $DEBUG_STDdiff --git a/reconftw.sh b/reconftw.shindex de99920..334dd26 100755--- a/reconftw.sh+++ b/reconftw.sh@@ -226,11 +226,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"+ printf "${bred}\n - ${NUMOFLINES_subs} alive subdomains${reset}\n\n" | notify -silenteval cat ${domain}_subdomains.txt $DEBUG_ERROR | sort- printf "${bred}\n - ${NUMOFLINES_probed} web probed${reset}\n\n"+ printf "${bred}\n - ${NUMOFLINES_probed} web probed${reset}\n\n" | notify -silenteval cat ${domain}_probed.txt $DEBUG_ERROR | sort- printf "${bblue}\n Subdomain Enumeration Finished\n"+ printf "${bblue}\n Subdomain Enumeration Finished\n" | notify -silentprintf "${bblue} Results are saved in ${domain}_subdomains.txt and ${domain}_probed.txt${reset}\n"printf "${bgreen}#######################################################################\n\n"}@@ -429,7 +429,7 @@ subtakeover(){elseNUMOFLINES=0fi- printf "${bred}\n Subtko: ${NUMOFLINES} subdomains in ${runtime}${reset}\n\n"+ printf "${bred}\n Subtko: ${NUMOFLINES} subdomains in ${runtime}${reset}\n\n" | 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"@@ -526,7 +526,7 @@ nuclei_check(){printf "\n\n"end=`date +%s`getElapsedTime $start $end- printf "${bblue}\n Port Scan Finished in ${runtime}\n"+ printf "${bblue}\n Nuclei Scan Finished in ${runtime}\n" | notify -silentprintf "${bblue} Results are saved in ${domain}_nuclei_*.txt files${reset}\n"printf "${bgreen}#######################################################################\n\n"else@@ -562,8 +562,8 @@ urlchecks(){end=`date +%s`getElapsedTime $start $endNUMOFLINES=$(wc -l < ${domain}_url_extract.txt)- printf "${bblue}\n URL Extraction Finished\n"- printf "${bblue}\n ${NUMOFLINES} in ${runtime}\n"+ printf "${bblue}\n URL Extraction Finished\n" | notify -silent+ printf "${bblue}\n ${NUMOFLINES} in ${runtime}\n" | notify -silentprintf "${bblue} Results are saved in ${domain}_url_extract.txt${reset}\n"printf "${bgreen}#######################################################################\n\n"else@@ -995,7 +995,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"+ printf "${bred} Finished Recon on: ${domain} under ${finaldir} in: ${runtime} ${reset}\n" | notify -silentprintf "${bgreen}#######################################################################\n"}