Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Expert guidance for ffuf web fuzzing during penetration testing, including authenticated fuzzing with raw requests, auto-calibration, and result analysis
.claude/skills/lingxling-ffuf-web-fuzzing/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | 259% | 0% |
| case-08 | ✗→✓ | ▲ Improved | 187% | 0% |
| case-10 | ✗→✓ | ▲ Improved | 260% | 0% |
| case-11 | ✗→✓ | ▲ Improved | 216% | 0% |
| case-12 | ✗→✓ | ▲ Improved | 632% | 0% |
ffuf during authorized security testing or penetration testing.FFUF is a fast web fuzzer written in Go, designed for discovering hidden content, directories, files, subdomains, and testing for vulnerabilities during penetration testing. It's significantly faster than traditional tools like dirb or dirbuster.
bash# Using Go go install github.com/ffuf/ffuf/v2@latest # Using Homebrew (macOS) brew install ffuf # Binary download # Download from: https://github.com/ffuf/ffuf/releases/latest
The FUZZ keyword is used as a placeholder that gets replaced with entries from your wordlist. You can place it anywhere:
https://target.com/FUZZ-H "Host: FUZZ"-d "username=admin&password=FUZZ"-w wordlist.txt:CUSTOM then use CUSTOM instead of FUZZbash# Basic directory fuzzing ffuf -w /path/to/wordlist.txt -u https://target.com/FUZZ # With file extensions ffuf -w /path/to/wordlist.txt -u https://target.com/FUZZ -e .php,.html,.txt,.pdf # Colored and verbose output ffuf -w /path/to/wordlist.txt -u https://target.com/FUZZ -c -v # With recursion (finds nested directories) ffuf -w /path/to/wordlist.txt -u https://target.com/FUZZ -recursion -recursion-depth 2
bash# Virtual host discovery ffuf -w /path/to/subdomains.txt -u https://target.com -H "Host: FUZZ.target.com" -fs 4242 # Note: -fs 4242 filters out responses of size 4242 (adjust based on default response size)
bash# GET parameter names ffuf -w /path/to/params.txt -u https://target.com/script.php?FUZZ=test_value -fs 4242 # GET parameter values ffuf -w /path/to/values.txt -u https://target.com/script.php?id=FUZZ -fc 401 # Multiple parameters ffuf -w params.txt:PARAM -w values.txt:VAL -u https://target.com/?PARAM=VAL -mode clusterbomb
bash# Basic POST fuzzing ffuf -w /path/to/passwords.txt -X POST -d "username=admin&password=FUZZ" -u https://target.com/login.php -fc 401 # JSON POST data ffuf -w entries.txt -u https://target.com/api -X POST -H "Content-Type: application/json" -d '{"name": "FUZZ", "key": "value"}' -fr "error" # Fuzzing multiple POST fields ffuf -w users.txt:USER -w passes.txt:PASS -X POST -d "username=USER&password=PASS" -u https://target.com/login -mode pitchfork
bash# Custom headers ffuf -w /path/to/wordlist.txt -u https://target.com -H "X-Custom-Header: FUZZ" # Multiple headers ffuf -w /path/to/wordlist.txt -u https://target.com -H "User-Agent: FUZZ" -H "X-Forwarded-For: 127.0.0.1"
-mc: Match status codes (default: 200-299,301,302,307,401,403,405,500)-ml: Match line count-mr: Match regex-ms: Match response size-mt: Match response time (e.g., >100 or <100 milliseconds)-mw: Match word count-fc: Filter status codes (e.g., -fc 404,403,401)-fl: Filter line count-fr: Filter regex (e.g., -fr "error")-fs: Filter response size (e.g., -fs 42,4242)-ft: Filter response time-fw: Filter word countCRITICAL: Always use -ac unless you have a specific reason not to. This is especially important when having Claude analyze results, as it dramatically reduces noise and false positives.
bash# Auto-calibration - ALWAYS USE THIS ffuf -w /path/to/wordlist.txt -u https://target.com/FUZZ -ac # Per-host auto-calibration (useful for multiple hosts) ffuf -w /path/to/wordlist.txt -u https://target.com/FUZZ -ach # Custom auto-calibration string (for specific patterns) ffuf -w /path/to/wordlist.txt -u https://target.com/FUZZ -acc "404NotFound"
Why -ac is essential:
When Claude analyzes your ffuf results, -ac is MANDATORY - without it, Claude will waste time sifting through thousands of false positives instead of finding the interesting anomalies.
bash# Limit to 2 requests per second (stealth mode) ffuf -w /path/to/wordlist.txt -u https://target.com/FUZZ -rate 2 # Add delay between requests (0.1 to 2 seconds random) ffuf -w /path/to/wordlist.txt -u https://target.com/FUZZ -p 0.1-2.0 # Set number of concurrent threads (default: 40) ffuf -w /path/to/wordlist.txt -u https://target.com/FUZZ -t 10
bash# Maximum total execution time (60 seconds) ffuf -w /path/to/wordlist.txt -u https://target.com/FUZZ -maxtime 60 # Maximum time per job (useful with recursion) ffuf -w /path/to/wordlist.txt -u https://target.com/FUZZ -maxtime-job 60 -recursion
bash# JSON output ffuf -w /path/to/wordlist.txt -u https://target.com/FUZZ -o results.json # HTML output ffuf -w /path/to/wordlist.txt -u https://target.com/FUZZ -of html -o results.html # CSV output ffuf -w /path/to/wordlist.txt -u https://target.com/FUZZ -of csv -o results.csv # All formats ffuf -w /path/to/wordlist.txt -u https://target.com/FUZZ -of all -o results # Silent mode (no progress, only results) ffuf -w /path/to/wordlist.txt -u https://target.com/FUZZ -s # Pipe to file with tee ffuf -w /path/to/wordlist.txt -u https://target.com/FUZZ -s | tee results.txt
This is one of the most powerful features of ffuf, especially for authenticated requests with complex headers, cookies, or tokens.
Workflow:
req.txt)FUZZ keyword--request flagbash# From a file containing raw HTTP request ffuf --request req.txt -w /path/to/wordlist.txt -ac
Example req.txt file:
httpPOST /api/v1/users/FUZZ HTTP/1.1 Host: target.com User-Agent: Mozilla/5.0 Authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9... Cookie: session=abc123xyz; csrftoken=def456 Content-Type: application/json Content-Length: 27 {"action":"view","id":"1"}
Use Cases:
Pro Tips:
-request-proto https if needed (default is https)-ac to filter out authenticated "not found" or error responsesbash# Common authenticated fuzzing patterns ffuf --request req.txt -w user_ids.txt -ac -mc 200 -o results.json # With multiple FUZZ positions using custom keywords ffuf --request req.txt -w endpoints.txt:ENDPOINT -w ids.txt:ID -mode pitchfork -ac
bash# HTTP proxy (useful for Burp Suite) ffuf -w /path/to/wordlist.txt -u https://target.com/FUZZ -x http://127.0.0.1:8080 # SOCKS5 proxy ffuf -w /path/to/wordlist.txt -u https://target.com/FUZZ -x socks5://127.0.0.1:1080 # Replay matched requests through proxy ffuf -w /path/to/wordlist.txt -u https://target.com/FUZZ -replay-proxy http://127.0.0.1:8080
bash# Using cookies ffuf -w /path/to/wordlist.txt -u https://target.com/FUZZ -b "sessionid=abc123; token=xyz789" # Client certificate authentication ffuf -w /path/to/wordlist.txt -u https://target.com/FUZZ -cc client.crt -ck client.key
bash# URL encoding ffuf -w /path/to/wordlist.txt -u https://target.com/FUZZ -enc 'FUZZ:urlencode' # Multiple encodings ffuf -w /path/to/wordlist.txt -u https://target.com/FUZZ -enc 'FUZZ:urlencode b64encode'
bash# SQL injection testing ffuf -w sqli_payloads.txt -u https://target.com/page.php?id=FUZZ -fs 1234 # XSS testing ffuf -w xss_payloads.txt -u https://target.com/search?q=FUZZ -mr "<script>" # Command injection ffuf -w cmdi_payloads.txt -u https://target.com/execute?cmd=FUZZ -fr "error"
bash# Process multiple URLs cat targets.txt | xargs -I@ sh -c 'ffuf -w wordlist.txt -u @/FUZZ -ac' # Loop through multiple targets with results for url in $(cat targets.txt); do ffuf -w wordlist.txt -u $url/FUZZ -ac -o "results_$(echo $url | md5sum | cut -d' ' -f1).json" done
Use -ac by default for every scan. This is non-negotiable for productive pentesting:
bashffuf -w wordlist.txt -u https://target.com/FUZZ -ac
Don't struggle with command-line flags for complex auth. Capture the full request and use --request:
bash# 1. Capture authenticated request from Burp/DevTools # 2. Save to req.txt with FUZZ keyword in place # 3. Run with -ac ffuf --request req.txt -w wordlist.txt -ac -o results.json
Use -rate to avoid triggering WAF/IDS or overwhelming the server:
bashffuf -w wordlist.txt -u https://target.com/FUZZ -rate 2 -t 10
-fs to filter by size or -fc to filter by status code-fc 403,404 -fs 1234Always save results to a file for later analysis:
bashffuf -w wordlist.txt -u https://target.com/FUZZ -o results.json -of json
Press ENTER during execution to drop into interactive mode where you can:
Be careful with recursion depth to avoid getting stuck in infinite loops or overwhelming the server:
bashffuf -w wordlist.txt -u https://target.com/FUZZ -recursion -recursion-depth 2 -maxtime-job 120
bashffuf -w ~/wordlists/common.txt -u https://target.com/FUZZ -mc 200,301,302,403 -ac -c -v
bashffuf -w ~/wordlists/raft-large-directories.txt -u https://target.com/FUZZ -e .php,.html,.txt,.bak,.old -ac -c -v -o results.json
bash# 1. Save your authenticated request to req.txt with FUZZ keyword # 2. Run: ffuf --request req.txt -w ~/wordlists/api-endpoints.txt -ac -o results.json -of json
bashffuf -w ~/wordlists/api-endpoints.txt -u https://api.target.com/v1/FUZZ -H "Authorization: Bearer TOKEN" -mc 200,201 -ac -c
bashffuf -w ~/wordlists/subdomains-top5000.txt -u https://FUZZ.target.com -ac -c -v
bashffuf -w ~/wordlists/passwords.txt -X POST -d "username=admin&password=FUZZ" -u https://target.com/login -fc 401 -rate 5 -ac
bash# Use req.txt with authenticated headers and FUZZ in the ID parameter ffuf --request req.txt -w numbers.txt -ac -mc 200 -fw 100-200
Create ~/.config/ffuf/ffufrc for default settings:
[http]
headers = ["User-Agent: Mozilla/5.0"]
timeout = 10
[general]
colors = true
threads = 40
[matcher]
status = "200-299,301,302,307,401,403,405,500"-ac for auto-calibration-fs-fr-t 100-ignore-body if you don't need response content-rate 2-p 0.5-1.5-t 10-mc all to see all responses-v to see what's happening| Task | Command Template | |------|------------------| | Directory Discovery | ffuf -w wordlist.txt -u https://target.com/FUZZ -ac | | Subdomain Discovery | ffuf -w subdomains.txt -u https://FUZZ.target.com -ac | | Parameter Fuzzing | ffuf -w params.txt -u https://target.com/page?FUZZ=value -ac | | POST Data Fuzzing | ffuf -w wordlist.txt -X POST -d "param=FUZZ" -u https://target.com/endpoint | | With Extensions | Add -e .php,.html,.txt | | Filter Status | Add -fc 404,403 | | Filter Size | Add -fs 1234 | | Rate Limit | Add -rate 2 | | Save Output | Add -o results.json | | Verbose | Add -c -v | | Recursion | Add -recursion -recursion-depth 2 | | Through Proxy | Add -x http://127.0.0.1:8080 |
This skill includes supplementary materials in the resources/ directory:
Helper Script Usage:
bash# Analyze results to find interesting anomalies python3 ffuf_helper.py analyze results.json # Create authenticated request template python3 ffuf_helper.py create-req -o req.txt -m POST -u "https://api.target.com/users" \ -H "Authorization: Bearer TOKEN" -d '{"action":"FUZZ"}' # Generate IDOR testing wordlist python3 ffuf_helper.py wordlist -o ids.txt -t numbers -s 1 -e 10000
When to use resources:
When helping users with ffuf:
-ac in every command - This is mandatory for productive pentesting and result analysisreq.txt file with the full HTTP requestffuf --request req.txt -w wordlist.txt -ac-ac for auto-calibration-rate) for production targets-o results.json-of html or -of csv for client-friendly formats-ac (if not, results will be too noisy)| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-04 | pass→pass | 6,485 | 6,526 | +1% | 1 | 1 | 0% | 1,115 | 6,682 | +499% | 0 | 0 | — |
case-03 | fail→fail | 10,106 | 10,263 | +2% | 1 | 1 | 0% | 1,055 | 6,556 | +521% | 0 | 0 | — |
case-01 | fail→pass | 9,708 | 6,768 | -30% | 1 | 1 | 0% | 1,882 | 6,755 | +259% | 0 | 0 | — |
case-02 | fail→fail | 13,842 | 17,705 | +28% | 1 | 1 | 0% | 1,578 | 7,280 | +361% | 0 | 0 | — |
case-05 | fail→fail | 17,747 | 26,827 | +51% | 1 | 1 | 0% | 1,473 | 7,628 | +418% | 0 | 0 | — |
case-06 | pass→pass | 10,177 | 4,285 | -58% | 1 | 1 | 0% | 1,672 | 6,289 | +276% | 0 | 0 | — |
case-07 | pass→pass | 9,716 | 5,066 | -48% | 1 | 1 | 0% | 1,482 | 6,300 | +325% | 0 | 0 | — |
case-08 | fail→pass | 13,537 | 4,278 | -68% | 1 | 1 | 0% | 2,217 | 6,370 | +187% | 0 | 0 | — |
case-09 | pass→pass | 11,970 | 4,865 | -59% | 1 | 1 | 0% | 1,004 | 6,103 | +508% | 0 | 0 | — |
case-10 | fail→pass | 11,245 | 6,192 | -45% | 1 | 1 | 0% | 1,823 | 6,570 | +260% | 0 | 0 | — |
case-11 | fail→pass | 12,771 | 4,339 | -66% | 1 | 1 | 0% | 2,030 | 6,414 | +216% | 0 | 0 | — |
case-12 | fail→pass | 4,741 | 3,034 | -36% | 1 | 1 | 0% | 831 | 6,086 | +632% | 0 | 0 | — |
case-13 | fail→pass | 10,208 | 5,012 | -51% | 1 | 1 | 0% | 1,817 | 6,416 | +253% | 0 | 0 | — |
case-14 | pass→pass | 6,281 | 3,223 | -49% | 1 | 1 | 0% | 1,198 | 6,191 | +417% | 0 | 0 | — |
case-15 | fail→fail | 12,071 | 19,476 | +61% | 1 | 1 | 0% | 1,301 | 7,573 | +482% | 0 | 0 | — |
case-16 | pass→pass | 10,378 | 7,037 | -32% | 1 | 1 | 0% | 1,959 | 6,368 | +225% | 0 | 0 | — |
case-17 | pass→pass | 21,511 | 21,214 | -1% | 1 | 1 | 0% | 1,796 | 6,547 | +265% | 0 | 0 | — |
case-18 | pass→pass | 23,211 | 6,354 | -73% | 1 | 1 | 0% | 1,912 | 6,107 | +219% | 0 | 0 | — |
case-19 | pass→pass | 4,918 | 5,103 | +4% | 1 | 1 | 0% | 871 | 6,364 | +631% | 0 | 0 | — |
case-20 | pass→pass | 8,595 | 2,934 | -66% | 1 | 1 | 0% | 1,494 | 6,122 | +310% | 0 | 0 | — |
case-21 | pass→pass | 10,581 | 4,651 | -56% | 1 | 1 | 0% | 1,973 | 6,410 | +225% | 0 | 0 | — |
case-22 | pass→pass | 8,824 | 4,510 | -49% | 1 | 1 | 0% | 1,817 | 6,496 | +258% | 0 | 0 | — |
case-23 | pass→pass | 8,703 | 20,975 | +141% | 1 | 1 | 0% | 1,594 | 6,577 | +313% | 0 | 0 | — |
case-24 | pass→pass | 8,560 | 3,112 | -64% | 1 | 1 | 0% | 1,522 | 6,086 | +300% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 24 cases were attempted. The headline lift of +25 percentage points is the difference between those two pass rates over the 24 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.