ffuf Cheat Sheet: Fast Web Fuzzing Commands for ffuf 2.3

Based on the official docs for ffuf 2.3.0 Hardware test not run How guides are made and checked

Got a web server and no idea what’s really sitting on it? Old backups, a forgotten /admin, a test vhost someone set up in 2021? ffuf finds them fast. You give it a wordlist and put the word FUZZ wherever you want the guesses to go: the path, a header, a parameter or the POST body.

Use ffuf on your own sites and servers, or on systems you have written permission to test. Pointed at your own stuff, it’s one of the quickest ways to find what you forgot you published.

This cheat sheet covers ffuf 2.3.0, the current release (September 2026), including the security fix you want if you’re still on 2.1.

Install ffuf

SystemCommandNotes
Kali, Debian, Ubuntusudo apt install ffufDebian 13 (stable) and Ubuntu 24.04 ship 2.1.0; Debian testing has 2.3.0
macOSbrew install ffuf
Windowswinget install ffuf.ffuf or scoop install ffuf
Any system with Gogo install github.com/ffuf/ffuf/v2@latestThe same command updates it
Any systemDownload a binary from the releases pageExtract it and run ./ffuf

Note the /v2 in the Go path. Older guides use go get github.com/ffuf/ffuf, which no longer installs current versions. The README says Go 1.20 or later, but the current source asks for a much newer Go, so use a recent Go release if you build it yourself.

Check what you’ve got:

ffuf -V

If it says anything older than 2.2.0, read the security note further down before you scan a site you don’t control.

The FUZZ keyword

Everything in ffuf hangs off one idea. -w loads a wordlist, and ffuf swaps each line into the spot marked FUZZ:

ffuf -w wordlist.txt -u https://example.com/FUZZ

Need more than one position? Give each wordlist its own keyword with a colon:

ffuf -w params.txt:PARAM -w values.txt:VAL -u "https://example.com/?PARAM=VAL"

Common jobs

JobCommand
Directories and filesffuf -w common.txt -u https://example.com/FUZZ
Files with extensionsffuf -w common.txt -u https://example.com/FUZZ -e .php,.bak,.old,.zip
Recursive scanffuf -w common.txt -u https://example.com/FUZZ -recursion -recursion-depth 2
Virtual hostsffuf -w hosts.txt -u https://example.com/ -H "Host: FUZZ.example.com" -ac
GET parameter namesffuf -w params.txt -u "https://example.com/page.php?FUZZ=1" -ac
GET parameter valuesffuf -w ids.txt -u "https://example.com/item?id=FUZZ" -fc 404
POST form dataffuf -w words.txt -u https://example.com/login -X POST -H "Content-Type: application/x-www-form-urlencoded" -d "user=admin&pass=FUZZ" -fr "Invalid"
POST JSONffuf -w entries.txt -u https://example.com/api -X POST -H "Content-Type: application/json" -d '{"name":"FUZZ"}' -fr "error"
Raw request from a proxyffuf -request req.txt -request-proto https -w words.txt

A few things trip people up:

  • Recursion only works with the FUZZ keyword, and the URL must end in FUZZ.
  • The default -recursion-strategy only goes deeper when it sees a redirect (like /admin to /admin/). Add -recursion-strategy greedy to recurse into every match.
  • For -request, save the request from your proxy, put FUZZ where you want it, and set -request-proto http if the site isn’t on HTTPS.

Matchers and filters

This is where ffuf earns its keep. Matchers decide what to show, filters decide what to hide.

By default ffuf shows these status codes: 200-299,301,302,307,401,403,405,500. If a scan looks empty, try -mc all and filter from there.

MatchFilterWhat it looks at
-mc-fcStatus code, for example -fc 404,403
-ms-fsResponse size in bytes, for example -fs 1234
-mw-fwWord count
-ml-flLine count
-mr-frA regex in the response
-mt-ftTime to first byte in ms, for example -mt ">500"

Ranges work too: -fs 4200-4300. Several matchers are joined with “or” by default; use -mmode and (or -fmode and for filters) when every condition must hold.

Auto-calibration

Lots of sites return a 200 with the same “not found” page for everything. -ac sends a few random requests first, learns what “nothing here” looks like and filters it out:

ffuf -w common.txt -u https://example.com/FUZZ -ac

The default strategy is basic. -acs advanced adds checks for random directories, which helps on sites that treat /random/ differently from /random. -ach calibrates per host when you scan several, and -acc "somestring" adds your own calibration value. I’d add -ac to almost every scan of a real site; it saves a lot of scrolling.

Speed and being polite

OptionWhat it does
-t 40Concurrent threads (40 is the default)
-rate 50Cap at 50 requests per second
-p 0.1-0.5Random delay between requests, in seconds
-timeout 10Request timeout in seconds (default 10)
-maxtime 600Stop the whole run after 600 seconds
-sfStop when more than 95% of responses are 403
-seStop on spurious errors
-saStop on all error cases (implies -sf and -se)

Forty threads is a lot for a small VPS or a home server behind a cheap router. Start with -rate 20 and raise it if the box copes.

Output and proxies

OptionWhat it does
-o results.jsonSave results (JSON by default)
-of htmlFormat: json, ejson, html, md, csv, ecsv or all
-od ./responsesSave the full matched responses to a folder
-orDon’t create an output file if nothing matched
-jsonPrint newline-delimited JSON to the screen, handy for jq
-x http://127.0.0.1:8080Send everything through a proxy (HTTP or SOCKS5)
-replay-proxy http://127.0.0.1:8080Send only the matches through a proxy
-audit-log audit.logLog every request, response and the config (new in 2.2.0)
-c / -v / -sColour, verbose (full URLs and redirects), silent

-replay-proxy is the one I’d use with Burp or ZAP. Your proxy history only fills up with the interesting hits, not 20,000 404s.

ffuf doesn’t check TLS certificates, so self-signed certs on a home lab box just work. The -k flag you see in curl-style commands is only there for compatibility and does nothing.

Interactive mode and config files

Press Enter while a scan runs and ffuf pauses with a small prompt. Type fs 1234 to change the size filter, afc 403 to add a status code to the filter, rate 10 to slow down, show to list matches, savejson file.json to save them, then press Enter again to carry on. Tightening a filter removes old matches straight away. Loosening one can’t bring back results that were already dropped, so use restart for that.

Options you always use can live in a config file at $XDG_CONFIG_HOME/ffuf/ffufrc (usually ~/.config/ffuf/ffufrc). Command line options override it, except -H, which adds to the headers in the file. Load a different file with -config myscan.ffufrc.

Wordlists

Kali has /usr/share/wordlists/dirb/common.txt, and the seclists package adds SecLists under /usr/share/seclists/. For web content, Discovery/Web-Content/ is the folder you want; for vhosts, look in Discovery/DNS/. Add -ic so ffuf skips the comment lines at the top of some lists.

Start small. common.txt takes seconds and catches most of the obvious mistakes. If you need a custom list from a pattern, the Crunch wordlist cheat sheet shows how to build one.

What’s changed recently

  • 2.3.0 (September 2026): new -preflight and -postflight options run a raw request before or after each fuzz request, and -preflight-var "NAME:regex" pulls a value (a CSRF token, say) out of the response for the main request. Also a security fix for -od and -audit-log (below), and fixes for the interactive console and output redirected to a file.
  • 2.2.1 (July 2026): release builds now take their version from the git tag. If you build from source, ffuf -V shows git-<date>-<commit> instead.
  • 2.2.0 (July 2026): added -audit-log, fixed -or, and fixed the decompression bomb bug below.
  • 2.1.0: added -raw, client certificates (-cc, -ck) and encoders (-enc 'FUZZ:urlencode b64encode'), and started matching all 2xx codes by default.

No flags were renamed or removed in these releases, so commands from 2.x guides still work.

Security notes

CVE-2026-73232 (CVSS 7.5): before 2.2.0, a malicious target could send a small compressed response that expands to gigabytes and crash ffuf by running it out of memory. It’s fixed in 2.2.0, and 2.3.0 closes the same gap for the -od and -audit-log snapshots, which the first fix missed. Debian rates the impact as low, since it crashes a CLI tool rather than exposing anything. Still, if you scan sites you don’t control (a bug bounty target, a client’s site with permission), run 2.3.0. Distribution packages may lag, so check with ffuf -V or your distro’s security tracker.

Troubleshooting

No results at all, or “context canceled” in the debug log. Usually the default matchers are hiding everything. Run with -mc all, look at what comes back, then filter by size or words. This came up in ffuf issue #783.

Thousands of hits that are all the same page. The site answers 200 for everything. Add -ac, or note the size of the junk response and use -fs.

Recursion doesn’t recurse. The URL must end in FUZZ, and the default strategy only follows redirects. Try -recursion-strategy greedy.

Auto-calibration errors when scanning several hosts. There’s an open report of this (issue #823). Try -ach for per-host calibration, or scan one host at a time.

Odd results with -http2 and a custom Host header. Also an open report (issue #868). Drop -http2 for vhost scans.

ffuf does the same core job as gobuster, with more flexible matching and filtering. If you’d rather have something simpler and single-threaded, there’s dirb. Once you know what’s on the server, Nikto checks it for known misconfigurations and outdated software.

Sources

practise legally

Only point these tools at systems you own or have written permission to test. If you want somewhere to practise, TryHackMe and Hack The Box run deliberately vulnerable machines you're allowed to attack. I'd start with TryHackMe if you're new, and move to Hack The Box once the basics click.