How to Use FFUF: Beginner's Guide to Fast Web Fuzzing in Kali Linux
Learn how to use FFUF in Kali Linux — directory, subdomain and vhost fuzzing, parameter testing, filters and a worked DVWA example, with a cheat sheet.
Why You Need FFUF
You need to discover hidden endpoints, parameters, or subdomains on a web application — FFUF fuzzes URLs faster than most alternatives. Written in Go for high concurrency, it supports directory discovery, parameter fuzzing, POST data fuzzing, and virtual host enumeration in a single tool.
What Is FFUF?
FFUF (Fuzz Faster U Fool) is a fast web fuzzer written in Go. It discovers hidden directories, files, parameters, subdomains, and virtual hosts by sending thousands of requests built from a wordlist, using the FUZZ keyword to mark where each word goes.
Speed is the point. FFUF runs 40 requests in parallel by default, so a 4,614-word list finishes in seconds on a local lab instead of minutes. That speed makes it the first tool many testers reach for when they need to expand a target's attack surface quickly.
FFUF is not a vulnerability scanner and not a proxy. It does not crawl links, spider JavaScript, or intercept traffic the way Burp Suite does. It answers one question very well: which of these guessed paths, names, or values actually exist on the target?
How to Use FFUF in 5 Steps
Follow these five steps for your first scan. Every example here targets a lab you own — a local DVWA install at http://192.168.56.101/dvwa/.
/usr/share/wordlists/dirb/common.txt (4,614 entries) is the standard first pass for directories.FUZZ keyword in the URL and match the interesting status codes:ffuf -u http://192.168.56.101/dvwa/FUZZ -w /usr/share/wordlists/dirb/common.txt -mc 200,301,302,403 -fs 0
200 is a live page; a 403 is a page that exists but refuses you; a 301/302 is a redirect worth following.200 in the browser, re-scan a 403 directory with extensions, and check a redirect's destination before deciding it matters.That is the whole loop: guess, measure, follow up. The rest of this guide makes each step sharper.
Prerequisites
Installing FFUF
FFUF is in the Kali repositories, so on Kali Linux the install is one command:
sudo apt install ffuf
ffuf -V
ffuf -V prints the installed version and confirms the binary works. If the command is not found after the install, open a new terminal so the updated PATH takes effect.
Other platforms:
# From source (any OS with Go installed)
go install github.com/ffuf/ffuf/v2@latest
# macOS with Homebrew
brew install ffuf
# Windows with winget
winget install ffuf.ffuf
# Building from the repository
git clone https://github.com/ffuf/ffuf
cd ffuf
go get
go build
The Go install puts the binary in ~/go/bin, so add that directory to your PATH if the shell cannot find ffuf afterwards. The source build needs Go 1.16 or newer.
Understanding the FUZZ Keyword
The FUZZ keyword is the heart of FFUF. Wherever you place it, FFUF substitutes one wordlist entry at a time and sends a request for each. The keyword can go in four places:
In the URL path — directory and file discovery:
ffuf -u http://target.com/FUZZ -w wordlist.txt
In the query string — parameter name or value fuzzing:
ffuf -u http://target.com/page.php?FUZZ=test -w params.txt
In a header — virtual host discovery:
ffuf -u http://target.com -H "Host: FUZZ.target.com" -w vhosts.txt
In POST data — form and API fuzzing:
ffuf -u http://target.com/login.php -X POST -d "user=FUZZ&pass=test" -w users.txt
You can also define your own keywords. Give a wordlist a name with a colon and use that name instead of FUZZ:
ffuf -w users.txt:USER -w passwords.txt:PASS -u http://target.com/login.php -X POST -d "user=USER&pass=PASS"
If FFUF reports that the FUZZ keyword was not found, check the spelling — it must be exactly FUZZ in capitals — and check that it appears in the URL, a header, or the POST data.
Choosing the Right Wordlist
The wordlist decides what FFUF can find. A directory list cannot find subdomains, and a subdomain list cannot find parameters. Match the list to the job:
| Wordlist | Entries | Best for |
|---|---|---|
/usr/share/wordlists/dirb/common.txt | 4,614 | First directory pass — fast, seconds on a lab |
SecLists Discovery/Web-Content/common.txt | ~4,700 | Same first pass, slightly different coverage |
SecLists Discovery/Web-Content/big.txt | ~29,000 | Second pass when the small list finds nothing |
SecLists Discovery/Web-Content/raft-large-words.txt | ~60,000 | Deep pass on a target worth the time |
SecLists Discovery/Web-Content/web-extensions.txt | ~40 | With -e, finding backup and config files |
SecLists Discovery/DNS/subdomains-top1million-5000.txt | 5,000 | Subdomain enumeration |
SecLists Discovery/Web-Content/burp-parameter-names.txt | ~2,500 | GET and POST parameter fuzzing |
On Kali, the SecLists collection installs with sudo apt install seclists and lands in /usr/share/seclists/. The rule is simple: start small, then go big only when the small list finds nothing. A 60,000-word list against a slow target wastes time and risks tripping rate limits; a 4,614-word list that finds the admin page in five seconds is the better first move.
Worked Example: Finding a Hidden Admin Page on a DVWA Lab
This example runs against a local DVWA install at http://192.168.56.101/dvwa/ — a lab you own, on your own network. Log in to the lab first, then run the scan from your Kali machine.
Step 1 — the first directory pass. Scan the DVWA root with the small common list and match the status codes that mean "something is here":
ffuf -u http://192.168.56.101/dvwa/FUZZ -w /usr/share/wordlists/dirb/common.txt -mc 200,301,302,403 -fs 0
Sample output (illustrative output):
login.php [Status: 200, Size: 1452, Words: 98, Lines: 24, Duration: 8ms]
config [Status: 403, Size: 285, Words: 22, Lines: 11, Duration: 6ms]
docs [Status: 200, Size: 3120, Words: 410, Lines: 58, Duration: 9ms]
phpinfo.php [Status: 200, Size: 89120, Words: 2401, Lines: 312, Duration: 11ms]
instructions.php [Status: 200, Size: 2210, Words: 301, Lines: 41, Duration: 7ms]
Read the results: login.php is the expected login page. config returns 403, which means the directory exists but the server refuses to list it — a 403 is a finding, not a dead end. phpinfo.php leaks server configuration and should not be reachable on a real site.
Step 2 — dig into the 403. A forbidden directory often holds files worth finding. Re-scan inside it with common file extensions:
ffuf -u http://192.168.56.101/dvwa/config/FUZZ -w /usr/share/wordlists/dirb/common.txt -e .php,.bak,.txt -mc 200,403 -fs 0
Sample output (illustrative output):
config.inc.php [Status: 403, Size: 285, Words: 22, Lines: 11, Duration: 6ms]
config.inc.php.bak [Status: 403, Size: 285, Words: 22, Lines: 11, Duration: 6ms]
Both files exist behind the 403. A .bak backup of a configuration file is a serious finding on a real target: if the server ever serves it instead of refusing, database credentials leak in plain text.
Step 3 — filter the noise. Every hit above shows the same size, 285 bytes, because the server answers every forbidden path with the same error page. Hide that size so only different responses show:
ffuf -u http://192.168.56.101/dvwa/config/FUZZ -w /usr/share/wordlists/dirb/common.txt -e .php,.bak,.txt -fc 404 -fs 285
What the findings mean. On a real engagement you would report: an exposed phpinfo.php page, a reachable /config directory, and a backup config file in the web root. The fixes are simple: remove phpinfo.php and all .bak files from the web root, and block direct access to /config on the server.
Directory and File Discovery
Directory discovery is FFUF's most common job. The basic scan from the worked example finds pages; two flags extend it.
File extensions with -e. Many interesting files share a directory name with a different extension. Append extensions to every word:
ffuf -u http://target.com/FUZZ -w wordlist.txt -e .php,.html,.txt,.bak -fc 404
Recursion with -recursion. When FFUF finds a directory, recursion scans inside it automatically. Limit the depth so a large site does not explode into thousands of requests:
ffuf -u http://target.com/FUZZ -w wordlist.txt -recursion -recursion-depth 2 -fc 404
Recursion only follows directories that returned a match, and it only supports the FUZZ keyword. Use depth 1 or 2 on a first pass; deeper recursion belongs on a target you already know is small.
Virtual Host Discovery
One IP address can serve many websites. Virtual host discovery finds the hidden ones by fuzzing the Host header while the URL stays fixed:
ffuf -w /usr/share/seclists/Discovery/DNS/subdomains-top1million-5000.txt -u http://192.168.56.101 -H "Host: FUZZ.example.com" -fc 404
FFUF sends the same request to the same IP with a different Host header each time. A 200 or a different response size means that virtual host exists. Two things matter here: use a vhost or subdomain wordlist, not a directory list, and filter by size as well as status — many servers answer every unknown vhost with the same default page, so -fs on the default page's size removes the noise. A common follow-up is adding a discovered vhost to /etc/hosts so the browser can reach it by name.
Subdomain Enumeration with FFUF
FFUF can enumerate subdomains by placing FUZZ in the hostname itself:
ffuf -w /usr/share/seclists/Discovery/DNS/subdomains-top1million-5000.txt -u http://FUZZ.example.com/ -mc 200,301,302 -fs 0
Watch out for wildcard DNS. If *.example.com resolves to the same page, every guess returns 200 and the results are useless. Test first: request a random subdomain that cannot exist, note its size, then filter that size out with -fs. FFUF is not the fastest subdomain tool — dedicated DNS tools enumerate faster — but it is the right choice when you also want the HTTP response for each subdomain, not just the DNS record.
Fuzzing GET and POST Parameters
Hidden parameters change what a page does. FFUF finds them by fuzzing parameter names and values.
GET parameter names — put FUZZ before the = sign:
ffuf -u http://target.com/page.php?FUZZ=test -w /usr/share/seclists/Discovery/Web-Content/burp-parameter-names.txt -mc 200 -fs 1234
Filter the baseline size (-fs 1234 is the size of the normal page) so only parameters that change the response appear.
GET parameter values — fuzz the value of a known parameter:
ffuf -u http://target.com/page.php?user=admin\&pass=FUZZ -w passwords.txt -mc 200 -fs 1234
Quote the URL or escape the & so the shell does not split the command.
POST parameters — use -X POST with -d for the body and set the content type:
ffuf -u http://target.com/login.php -X POST -H "Content-Type: application/x-www-form-urlencoded" -d "user=admin&pass=FUZZ" -w passwords.txt -fc 200
Filtering out 200 here keeps only the responses that differ from a failed login — the successful login stands out. Fuzzing a login form is authorized testing only: use your own lab account or a target inside a written scope.
Filtering and Matching
FFUF's real power is deciding which responses matter. Matchers keep responses; filters remove them.
| Matcher | Flag | Keeps responses where |
|---|---|---|
| Status code | -mc 200,301,403 | Status is 200, 301, or 403 |
| Size | -ms 1234 | Body is exactly 1,234 bytes |
| Words | -mw 100 | Body has exactly 100 words |
| Lines | -ml 50 | Body has exactly 50 lines |
| Regex | -mr "admin" | Body matches the pattern |
| Filter | Flag | Removes responses where |
|---|---|---|
| Status code | -fc 404 | Status is 404 |
| Size | -fs 0,285 | Body is 0 or 285 bytes |
| Words | -fw 22 | Body has exactly 22 words |
| Lines | -fl 11 | Body has exactly 11 lines |
| Regex | -fr "Not Found" | Body matches the pattern |
Two habits make filtering work. First, always find the baseline: request a path that does not exist, note its status and size, and filter those out. Second, use auto-calibration. The -ac flag measures the 404 response automatically and filters look-alike pages for you:
ffuf -u http://target.com/FUZZ -w wordlist.txt -ac -fc 404
Auto-calibration is the fastest way to clean up a noisy scan, especially on servers that answer every missing page with 200 and a "not found" message. Combine matchers and filters freely: -mc 200,403 -fs 285 keeps only the interesting statuses and hides the standard error-page size.
Multiple Keywords and Fuzzing Modes
One wordlist fuzzing one keyword is the default. FFUF also combines wordlists.
Two wordlists, two keywords. Name each wordlist and use both names in the request:
ffuf -w users.txt:USER -w passwords.txt:PASS -u http://target.com/login.php -X POST -d "user=USER&pass=PASS" -mc 200 -fs 1234
Fuzzing modes change how the wordlists combine. Set the mode with -mode:
| Mode | Behavior |
|---|---|
clusterbomb (default) | Every combination — each USER with each PASS |
pitchfork | Paired lines — line 1 of each list together, then line 2, and so on |
sniper | One wordlist at a time, the others held at their first value |
Clusterbomb is the thorough option and the slowest: 100 users times 100 passwords is 10,000 requests. Pitchfork fits credential pairs you already have. Sniper fits testing one parameter while the rest stay fixed. Start with sniper or pitchfork on a live target; save clusterbomb for a lab or a small list.
Saving and Using Output
Printed output scrolls away. Save results for analysis:
ffuf -u http://target.com/FUZZ -w wordlist.txt -o results.json -of json -fc 404
Output formats (-of): json, ejson, html, md, csv, or all for every format at once. JSON is the most useful — pull the hits out with jq:
jq -r '.results[] | "\(.input.FUZZ) \(.status) \(.length)"' results.json
Two more output flags help daily use. Silent mode (-s) prints only the results, which is ideal for piping into a file or another tool:
ffuf -u http://target.com/FUZZ -w wordlist.txt -s -o results.txt -of csv | tee scan.log
Verbose mode (-v) shows every request, including filtered ones — useful when a scan returns nothing and you need to see why. FFUF also reads a config file, ~/.ffufrc, so repeated settings like a default proxy or header live in one place instead of every command.
Speed, Threads and Rate Limiting
FFUF runs 40 threads by default. Raise the count on a fast local lab; lower it on a fragile target:
# 100 parallel requests
ffuf -u http://target.com/FUZZ -w wordlist.txt -t 100 -fc 404
# 100 requests per second, at most
ffuf -u http://target.com/FUZZ -w wordlist.txt -rate 100 -fc 404
# 0.1 second pause between requests
ffuf -u http://target.com/FUZZ -w wordlist.txt -p 0.1 -fc 404
# Stop the whole scan after 60 seconds
ffuf -u http://target.com/FUZZ -w wordlist.txt -maxtime 60 -fc 404
Speed has a cost. Too many threads against a small server cause timeouts and dropped connections, which look like missing pages. A web application firewall may block your IP after a burst. Slow down when results look inconsistent: halve the threads, add a rate limit, and re-run the same scan to compare. A clean slow scan beats a fast scan full of false negatives.
FFUF vs Gobuster vs Dirb vs WFuzz
Four tools do similar jobs. The differences decide which one to reach for:
| FFUF | Gobuster | Dirb | WFuzz | |
|---|---|---|---|---|
| Language | Go | Go | C | Python |
| Speed | Very fast (40 threads default) | Fast | Slow (single-threaded) | Moderate |
| Multiple keywords | Yes (USER/PASS) | No | No | Yes |
| Fuzzing modes | clusterbomb / pitchfork / sniper | No | No | Yes |
| Output formats | json, csv, html, md | Text only | Text only | Text, json |
| Recursion | Yes | No (dir mode) | Yes | No |
| DNS / vhost modes | Yes (via FUZZ placement) | Dedicated dns/vhost modes | No | Via plugins |
| Best for | Flexible fuzzing of anything | Simple dir/DNS/vhost scans | Quick legacy scans | Scripted fuzzing |
Gobuster is the simpler choice when the job is only directory or DNS enumeration and you want the shortest command. Dirb is the old standard and still works, but its single thread makes it slow on large lists. WFuzz is powerful for scripted work and payloads. FFUF wins when one tool must fuzz directories, parameters, headers, and POST bodies with filters, modes, and structured output.
FFUF Commands Cheat Sheet
| Command | What it does |
|---|---|
ffuf -u http://target.com/FUZZ -w wordlist.txt | Basic directory fuzzing |
ffuf -u http://target.com/FUZZ -w wordlist.txt -e .php,.txt,.bak | Also try file extensions |
ffuf -u http://target.com/FUZZ -w wordlist.txt -recursion -recursion-depth 2 | Recurse into found directories |
ffuf -u http://target.com -H "Host: FUZZ.target.com" -w vhosts.txt | Virtual host discovery |
ffuf -u http://FUZZ.example.com/ -w subs.txt | Subdomain enumeration |
ffuf -u http://target.com/page.php?FUZZ=test -w params.txt | GET parameter fuzzing |
ffuf -u http://target.com/login.php -X POST -d "user=FUZZ&pass=test" -w users.txt | POST parameter fuzzing |
ffuf -u http://target.com/FUZZ -w wordlist.txt -fc 404 | Hide 404 responses |
ffuf -u http://target.com/FUZZ -w wordlist.txt -mc 200,403 | Show only 200 and 403 |
ffuf -u http://target.com/FUZZ -w wordlist.txt -fs 285 | Hide the 285-byte error page |
ffuf -u http://target.com/FUZZ -w wordlist.txt -ac | Auto-calibrate against the 404 page |
ffuf -u http://target.com/FUZZ -w wordlist.txt -o out.json -of json | Save results as JSON |
ffuf -u http://target.com/FUZZ -w wordlist.txt -s | Silent mode, results only |
ffuf -u http://target.com/FUZZ -w wordlist.txt -t 100 | 100 parallel threads |
ffuf -u http://target.com/FUZZ -w wordlist.txt -rate 100 | Max 100 requests per second |
ffuf -u http://target.com/FUZZ -w wordlist.txt -p 0.1 | 0.1s delay between requests |
ffuf -u http://target.com/FUZZ -w wordlist.txt -maxtime 60 | Stop after 60 seconds |
ffuf -w users.txt:USER -w pass.txt:PASS -u http://target.com/login.php -X POST -d "user=USER&pass=PASS" | Two wordlists, custom keywords |
ffuf -u http://target.com/FUZZ -w wordlist.txt -mode pitchfork | Paired-line fuzzing mode |
ffuf -u http://target.com/FUZZ -w wordlist.txt -x http://127.0.0.1:8080 | Send requests through a proxy (Burp) |
ffuf -V | Print the installed version |
Troubleshooting FFUF Problems
| Problem | Likely cause | Fix |
|---|---|---|
| No results at all | Filters hide everything, or the wordlist misses | Re-run with no filters (-mc all) and a bigger list |
| Everything returns 200 | Wildcard or soft 404 — the server answers every path | Find the baseline size and filter it (-fs), or use -ac |
| 403 on every path | The server blocks the scanner or needs a session | Add a cookie with -b, or check the target needs login first |
FUZZ keyword not found error | Typo, or FUZZ missing from URL/header/data | Spell it FUZZ in capitals and place it in -u, -H, or -d |
| Wordlist not found | Wrong path, or SecLists not installed | Check the path; install with sudo apt install seclists |
| Connection refused | Wrong host/port, or the lab is down | Confirm the lab is running and the URL scheme is right |
| TLS or certificate errors | http used where the lab serves https (or the reverse) | Match the scheme to the lab; check the port |
| Scan too slow, or the target rate-limits | Too many threads for the server | Lower -t, add -rate 100 or -p 0.1, re-run |
Common Mistakes
200 buries the real hits.200 with an error message inside is a soft 404 — always check size and words too.Best Practices
-ac, and hide the standard error size before reading results.-o lets you re-check results later without re-scanning.Is FFUF Legal and Safe to Use?
FFUF itself is a legal, open-source tool. Using it becomes a legal problem only when the target is not yours and you have no permission to test it. Scanning someone else's website without approval can violate computer misuse laws and the site's terms of service, and it can get your IP address blocked.
Stay inside these lines: test your own lab, a deliberately vulnerable app, a target inside a written penetration-testing scope, or a bug bounty program that explicitly allows fuzzing. Keep the scope in writing, keep your scan rate reasonable, and stop when the scope ends.
Keep Learning
Summary
Ffuf is a lightning-fast web fuzzer for discovering hidden content, parameters, subdomains, and virtual hosts. Start with a small wordlist and the FUZZ keyword, filter the noise with matchers or auto-calibration, and follow up on the 200s and 403s — that loop finds the pages a site does not link to.
Knowledge Check
-ac)?Answers: 1. It marks where each wordlist entry is inserted in the URL, header, or POST data. 2. Use -fc 404 to filter out 404 responses. 3. Auto-calibration measures the server's 404 response and filters out look-alike pages automatically. 4. Use the -e flag, for example -e .php,.txt,.bak. 5. JSON with -o results.json -of json, because it is easy to search and re-use. 6. Fuzz the Host header with -H "Host: FUZZ.target.com". 7. Clusterbomb tries every combination of the wordlists; pitchfork pairs lines from each list together. 8. Because a server can answer a missing page with 200 and a "not found" message, so size catches what status alone misses.
Frequently Asked Questions
Continue Learning
How to Use Gobuster: Beginner's Guide to Directory, DNS & VHost Enumeration in Kali Linux
Learn how to use Gobuster in Kali Linux — dir, DNS and vhost modes, wordlists, and a worked DVWA example, with a cheat sheet and troubleshooting.
Tools · BeginnerHow to Use Dirb: Beginner's Guide to Directory Brute-Forcing in Kali Linux
Learn how to use Dirb in Kali Linux: run your first directory scan, pick the right wordlist, and read the results — with a worked example and cheat sheet.
Tools · IntermediateHow to Use Burp Suite: Beginner's Guide to Web App Security Testing in Kali Linux
Learn how to use Burp Suite to intercept requests, test with Repeater and Intruder, follow a worked DVWA example, and start free with Community Edition.
Tools · IntermediateSQLMap Commands: Cheat Sheet & How to Use SQLMap in Kali Linux
Every SQLMap command you need - target, enumeration, tamper scripts, WAF bypass, OS shell - with a worked DVWA example, troubleshooting and the developer fix.
Related Security Tools
FFUF
Learn how to use FFUF (Fuzz Faster U Fool), the extremely fast open-source web fuzzer written in Go: place the FUZZ keyword where a wordlist entry should go, run your first scan, filter the noise, and discover hidden directories, files, parameters, virtual hosts and API endpoints on targets you have permission to test.
Web ApplicationGobuster
Learn how to use Gobuster, the fast Go-based directory and subdomain brute-forcer, with install steps, your first dir scan, wordlist picks, and result filtering — a beginner tutorial for Kali Linux.
Web ApplicationDIRB
DIRB is a web content scanner that finds hidden directories, backup files, and other sensitive content on web servers by launching dictionary-based attacks against a target URL. This beginner tutorial shows how to use DIRB in Kali Linux: install it, run your first scan, read the output, switch wordlists, and hand verified findings to the next tool.
Wireless AttacksWifite
Learn how to use Wifite in Kali Linux with this beginner tutorial: check your WiFi adapter, install Wifite, run your first authorized WiFi audit, capture WPA handshakes and PMKIDs, and crack them with a wordlist. Includes Wifite commands, a worked example, troubleshooting for common errors, and how Wifite compares with Aircrack-ng.