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

Better ffuf output by @detonxx

six2dez114912e61752
diff --git a/reconftw.sh b/reconftw.sh
index be85762..2becd27 100755
--- a/reconftw.sh
+++ b/reconftw.sh
@@ -690,7 +690,9 @@ 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|/.*$||')
- ffuf -mc all -ac -w $fuzz_wordlist -maxtime 900 -u $sub/FUZZ -or -of md -o $dir/fuzzing/${sub_out}.md $DEBUG_STD
+ ffuf -mc all -ac -sf -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
+ 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' > $dir/fuzzing/${sub_out}.txt
+ eval rm ${sub_out}.tmp $DEBUG_ERROR
done
touch $called_fn_dir/.${FUNCNAME[0]}
end=`date +%s`