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

cleaner code for favicon

Bilel Eljaamii87f140937eac
diff --git a/reconftw.sh b/reconftw.sh
index b3b96c5..7213973 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -748,11 +748,10 @@ favicon(){
eval python3 favUp.py -w $domain -sc -o favicontest.json $DEBUG_STD && touch $called_fn_dir/.${FUNCNAME[0]}
if [ ! -f "favicontest.json" ]
then
- mv favicontest.json $dir/favicontest.json
- cd $dir
eval cat favicontest.json | jq > ${domain}_favicontest.txt $DEBUG_STD
rm favicontest.json
eval cat ${domain}_favicontest.txt $DEBUG_ERROR | grep found_ips
+ mv favicontest.json $dir/favicontest.json
fi
cd $dir
end=`date +%s`