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

More minor fixes

six2dezdde711179032
diff --git a/reconftw.sh b/reconftw.sh
index 92c0823..f4c05e2 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -235,11 +235,11 @@ subdomains_full(){
NUMOFLINES_probed=$(wc -l < ${domain}_probed.txt)
fi
printf "${bblue}\n Final results: ${reset}\n"
- printf "${bred}\n - ${NUMOFLINES_subs} alive subdomains${reset}\n\n" | tee notify -silent
+ printf "${bred}\n - ${NUMOFLINES_subs} alive subdomains${reset}\n\n" | tee /dev/tty | notify -silent
eval cat ${domain}_subdomains.txt $DEBUG_ERROR | sort
- printf "${bred}\n - ${NUMOFLINES_probed} web probed${reset}\n\n" | tee notify -silent
+ printf "${bred}\n - ${NUMOFLINES_probed} web probed${reset}\n\n" | tee /dev/tty | notify -silent
eval cat ${domain}_probed.txt $DEBUG_ERROR | sort
- printf "${bblue}\n Subdomain Enumeration Finished\n" | tee notify -silent
+ printf "${bblue}\n Subdomain Enumeration Finished\n" | tee /dev/tty | notify -silent
printf "${bblue} Results are saved in ${domain}_subdomains.txt and ${domain}_probed.txt${reset}\n"
printf "${bgreen}#######################################################################\n\n"
}
@@ -438,7 +438,7 @@ subtakeover(){
else
NUMOFLINES=0
fi
- printf "${bred}\n Subtko: ${NUMOFLINES} subdomains in ${runtime}${reset}\n\n" | tee notify -silent
+ printf "${bred}\n Subtko: ${NUMOFLINES} subdomains in ${runtime}${reset}\n\n" | tee /dev/tty | notify -silent
eval cat ${domain}_takeover.txt $DEBUG_ERROR
printf "${bblue}\n Subdomain Takeover Finished\n"
printf "${bblue} Results are saved in ${domain}_takeover.txt${reset}\n"
@@ -475,7 +475,7 @@ screenshot(){
printf "${bgreen}#######################################################################\n"
printf "${bblue} ${bgreen} Web Screenshot ${reset}\n\n"
start=`date +%s`
- python3 $tools/webscreenshot/webscreenshot.py -i ${domain}_probed.txt -w 8 -a "User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0" -o screenshots &>/dev/null && touch $called_fn_dir/.${FUNCNAME[0]}
+ python3 $tools/webscreenshot/webscreenshot.py -i ${domain}_probed.txt -r chromium -w 8 -a "User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0" -o screenshots &>/dev/null && touch $called_fn_dir/.${FUNCNAME[0]}
end=`date +%s`
getElapsedTime $start $end
printf "${bblue}\n Web Screenshot Finished in ${runtime}\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" | tee notify -silent
+ printf "${bblue}\n Nuclei Scan Finished in ${runtime}\n" | tee /dev/tty | notify -silent
printf "${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 $end
NUMOFLINES=$(wc -l < ${domain}_url_extract.txt)
- printf "${bblue}\n URL Extraction Finished\n" | tee notify -silent
- printf "${bblue}\n ${NUMOFLINES} in ${runtime}\n" | tee notify -silent
+ printf "${bblue}\n URL Extraction Finished\n" | tee /dev/tty | notify -silent
+ printf "${bblue}\n ${NUMOFLINES} in ${runtime}\n" | tee /dev/tty | notify -silent
printf "${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_end
printf "${bgreen}#######################################################################\n"
- printf "${bred} Finished Recon on: ${domain} under ${finaldir} in: ${runtime} ${reset}\n" | tee notify -silent
+ printf "${bred} Finished Recon on: ${domain} under ${finaldir} in: ${runtime} ${reset}\n" | tee /dev/tty | notify -silent
printf "${bgreen}#######################################################################\n"
}