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

if ${domain}_favicontest.txt is empty, .favicon will nerver be generated.

Bilel Eljaamii0f806d2df565
diff --git a/reconftw.sh b/reconftw.sh
index e230528..eb62cb6 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -677,9 +677,9 @@ favicon(){
eval python3 favUp.py -w $domain -sc -o favicontest.json $DEBUG_STD
mv favicontest.json $dir/favicontest.json
cd $dir
- cat favicontest.json | jq > ${domain}_favicontest.txt
+ cat favicontest.json | jq > ${domain}_favicontest.txt && touch $called_fn_dir/.${FUNCNAME[0]}
rm favicontest.json
- eval cat ${domain}_favicontest.txt $DEBUG_ERROR | grep found_ips && touch $called_fn_dir/.${FUNCNAME[0]}
+ eval cat ${domain}_favicontest.txt $DEBUG_ERROR | grep found_ips
end=`date +%s`
getElapsedTime $start $end
printf "${bblue}\n FavIcon Hash Extraction Finished in ${runtime}\n"