Ultimate Wfuzz Cheat Sheet
Ultimate Wfuzz Cheat Sheet
A reference guide for the web application fuzzer. Brute force everything with payloads.
1. Basic Syntax
The fundamental structure of a Wfuzz command.
Essential Flags
-c: Colorized output-z [PAYLOAD]: Specify payload-w [FILE]: Wordlist payload-t [N]: Number of threads
Basic Fuzzing
wfuzz -c -w wordlist.txt http://example.com/FUZZ: Directory fuzzwfuzz -c -z range,1-100 http://example.com/id=FUZZ: ID fuzzwfuzz -c -z list,admin-test http://example.com/FUZZ: Custom listwfuzz -c -w words.txt -t 50 http://example.com/FUZZ: 50 threads
The
FUZZ keyword marks where payloads are injected. Wfuzz replaces FUZZ with each payload item. Use FUZZ in URL path, parameters, headers, or POST data.
2. Payloads & Fuzzing
Wordlist Payload
Use wordlist file as payload source.
Range Payload
Generate numeric range payloads.
List Payload
Use comma-separated list as payload.
File Payload
Read payloads from file without wordlist flag.
Hex Range Payload
Generate hexadecimal range payloads.
Multiple Payloads
Use multiple FUZZ positions with different payloads.
| Payload Type | Syntax | Description |
|---|---|---|
file | -z file,path | Read from file |
list | -z list,item1-item2 | Comma-separated list |
range | -z range,1-100 | Numeric range |
hexrand | -z range,0x00-0xff | Hex range |
stdin | -z stdin | From standard input |
3. Filtering & Hiding
Hide by Response Code
Hide specific HTTP status codes.
Show by Response Code
Show only specific HTTP status codes.
Hide by Character Count
Hide responses with specific character count.
Hide by Word Count
Hide responses with specific word count.
Hide by Line Count
Hide responses with specific line count.
Show by Regex
Show only responses matching regex.
| Filter Flag | Description |
|---|---|
--hc [CODES] | Hide status codes |
--sc [CODES] | Show only status codes |
--hh [COUNT] | Hide by character count |
--sh [COUNT] | Show by character count |
--hw [COUNT] | Hide by word count |
--sw [COUNT] | Show by word count |
--hl [COUNT] | Hide by line count |
--sl [COUNT] | Show by line count |
--hs [REGEX] | Hide by regex |
--ss [REGEX] | Show by regex |
First run without filters to find the baseline response size. Then use
--hh to hide that size and reveal only interesting responses that differ.
4. Attack Types
Directory Brute Forcing
Discover hidden directories and files.
Parameter Fuzzing
Fuzz GET parameters for vulnerabilities.
POST Data Fuzzing
Fuzz POST parameters.
Header Fuzzing
Fuzz HTTP headers (User-Agent, X-Forwarded-For, etc.).
Cookie Fuzzing
Fuzz cookie values for session issues.
Subdomain Fuzzing
Discover subdomains via Host header fuzzing.
SQL Injection Testing
Test parameters for SQL injection.
SQL injection and authentication fuzzing can damage data or lock accounts. Only test on authorized targets and understand the potential impact before launching attacks.
5. Advanced Features
Custom Headers
Add custom headers to requests.
Cookie Support
Send cookies with requests.
Proxy Support
Route traffic through proxy (Burp Suite).
Authentication
Basic authentication support.
Follow Redirects
Automatically follow HTTP redirects.
Recursive Fuzzing
Recursively fuzz discovered directories.
Connection Persistence
Use persistent connections for speed.
| Advanced Flag | Description |
|---|---|
-H [HEADER] | Add custom header |
-b [COOKIE] | Send cookie |
-p [PROXY] | Use proxy |
--basic [CREDS] | Basic auth |
-L | Follow redirects |
-R [DEPTH] | Recursive fuzzing |
-Z | Persistent connections |
6. Output & Automation
Save Results
Export results to a file.
JSON Output
Export results in JSON format.
CSV Output
Export results in CSV format.
HTML Report
Generate HTML report with results.
Interactive Mode
Launch interactive result viewer.
Pipeline with Other Tools
Pipe results to other tools.
| Output Flag | Description |
|---|---|
-f [FILE] | Save results to file |
-f [FILE],json | JSON output format |
-f [FILE],csv | CSV output format |
-f [FILE],html | HTML report |
--interactive | Interactive mode |
-v | Verbose output |
Wfuzz supports encoders to transform payloads. Use
-e to list encoders. Common encoders: base64, urlencode, md5, sha1. Apply with --zP flag.
Post a Comment