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

fuzz: enable ffuf auto-calibration so soft-404 targets cannot run away (#1049)

six2dez95bf7a6e017c
diff --git a/reconftw.cfg b/reconftw.cfg
index 06e5329..a061d1d 100644
--- a/reconftw.cfg
+++ b/reconftw.cfg
@@ -358,7 +358,15 @@ REMOVELOG=false # Delete logs after execution
PROXY=false # Send to proxy the websites found
SENDZIPNOTIFY=false # Send to zip the results (over notify)
PRESERVE=true # set to true to avoid deleting the .called_fn files on really large scans
-FFUF_FLAGS=" -mc all -fc 404 -sf -noninteractive -of json" # Ffuf flags
+# -ac (auto-calibration) addresses the soft-404 case in #1049: an app that answers
+# 200 for every path makes `-fc 404` useless, every wordlist entry counts as a hit,
+# and with -recursion each fake "directory" is recursed into — the false positives
+# multiply per level and the phase effectively never finishes. -ac probes a few
+# paths that cannot exist, derives the site's real not-found signature from the
+# responses (size/words/lines, not just status), and filters against it. Only the
+# content-discovery phase reads FFUF_FLAGS; LFI and SSRF carry their own flags, so
+# payload responses there are unaffected. Use -ach instead for per-host calibration.
+FFUF_FLAGS=" -mc all -fc 404 -ac -sf -noninteractive -of json" # Ffuf flags
# HTTP options
HEADER="User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:128.0) Gecko/20100101 Firefox/128.0" # Default header