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

Ffuf fix

six2dez0f717f3e663c
diff --git a/reconftw.sh b/reconftw.sh
index 58cb09f..6a8ab73 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -778,7 +778,7 @@ fuzz(){
for sub in $(cat ${domain}_probed.txt); do
printf "${yellow}\n\n Running: Fuzzing in ${sub}${reset}\n"
sub_out=$(echo $sub | sed -e 's|^[^/]*//||' -e 's|/.*$||')
- eval ffuf -mc all -fc 404 -ac -sf -s -H "User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0" -w $fuzz_wordlist -maxtime 900 -u $sub/FUZZ -or -o $dir/fuzzing/${sub_out}.tmp $DEBUG_STD
+ ffuf -mc all -fc 404 -ac -sf -s -H "User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:72.0) Gecko/20100101 Firefox/72.0" -w $fuzz_wordlist -maxtime 900 -u $sub/FUZZ -or -o $dir/fuzzing/${sub_out}.tmp &>/dev/null
cat $dir/fuzzing/${sub_out}.tmp | jq '[.results[]|{status: .status, length: .length, url: .url}]' | grep -oP "status\":\s(\d{3})|length\":\s(\d{1,7})|url\":\s\"(http[s]?:\/\/.*?)\"" | paste -d' ' - - - | awk '{print $2" "$4" "$6}' | sed 's/\"//g' | anew -q $dir/fuzzing/${sub_out}.txt
eval rm $dir/fuzzing/${sub_out}.tmp $DEBUG_ERROR
done