☼
⌃
☰

ffuf

Table of Contents

Fast web fuzzer written in Go. The FUZZ keyword substitutes wordlist entries anywhere in a request — URL path, query parameter, POST body, or header. Primary use cases are parameter discovery and virtual host enumeration where Feroxbuster is not suited. Use Feroxbuster for recursive directory busting; use ffuf when the fuzz point is not a URL path.

Related: Content Discovery Subdomain Enumeration Feroxbuster Web Application Testing Methodology

Core Flags

Flag Purpose
-u Target URL — place FUZZ at substitution point
-w Wordlist. Append :KEYWORD for named keywords e.g. -w list.txt:W1
-X HTTP method (default: GET)
-d POST body — place FUZZ in value or field position
-H Header to add or fuzz
-b Cookie
-r Follow redirects
-t Threads (default: 40 — reduce on fragile targets)
-p Delay between requests e.g. 0.1-0.5 for random range
-x Proxy e.g. -x http://127.0.0.1:8080
-k Disable TLS verification

Filtering

Always establish a baseline response first — run once unfiltered, identify the noise pattern, then re-run with filters applied.

Flag Purpose
-fc Filter by status code e.g. -fc 404,403
-mc Match only these status codes
-fs Filter by response size in bytes
-ms Match only this response size
-fw Filter by word count
-fr Filter responses matching a regex

Common Workflows

Directory fuzzing

SHELL
ffuf -u http://$IP/FUZZ \
     -w /usr/share/seclists/Discovery/Web-Content/common.txt \
     -fc 404 -fs 1234

With extension appending:

SHELL
ffuf -u http://$IP/FUZZ \
     -w /usr/share/seclists/Discovery/Web-Content/raft-medium-directories.txt \
     -e .php,.html,.txt -fc 404

Virtual host / subdomain fuzzing

Place FUZZ in the Host header. Establish the fallback response size first, then filter it out with -fs.

SHELL
# Establish baseline size
ffuf -u http://$IP -H "Host: test.example.com" \
     -w /usr/share/seclists/Discovery/DNS/subdomains-top1million-5000.txt

# Re-run filtering baseline
ffuf -u http://$IP -H "Host: FUZZ.example.com" \
     -w /usr/share/seclists/Discovery/DNS/subdomains-top1million-5000.txt \
     -fs <baseline_size>

GET parameter name discovery

SHELL
ffuf -u "http://$IP/page?FUZZ=test" \
     -w /usr/share/seclists/Discovery/Web-Content/burp-parameter-names.txt \
     -fs 1234

GET parameter value fuzzing

SHELL
ffuf -u "http://$IP/page?id=FUZZ" \
     -w /usr/share/seclists/Fuzzing/integers.txt \
     -mc 200

POST body fuzzing

SHELL
# Form encoded
ffuf -u http://$IP/login -X POST \
     -d "username=admin&password=FUZZ" \
     -H "Content-Type: application/x-www-form-urlencoded" \
     -w /usr/share/seclists/Passwords/Common-Credentials/10k-most-common.txt \
     -fc 401

# JSON body
ffuf -u http://$IP/api/login -X POST \
     -d '{"username":"admin","password":"FUZZ"}' \
     -H "Content-Type: application/json" \
     -w /usr/share/seclists/Passwords/Common-Credentials/10k-most-common.txt \
     -fc 401

Tips

  • Always run unfiltered first — establish the noise baseline before applying -fc or -fs; unfiltered output is rarely actionable
  • For vhost fuzzing -fs against the fallback size is almost always the right filter — not -fc, since all requests return the same code on misconfigured vhosts
  • Route through Burp with -x http://127.0.0.1:8080 -k to inspect interesting hits without leaving ffuf
  • burp-parameter-names.txt from SecLists is the most targeted wordlist for parameter name discovery
  • Reduce threads with -t 10 on rate-limited or fragile targets
  • Use -v to see full redirect destinations alongside results