Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

🏠 Back to Blog

wafw00f Cheatsheet

Basic Usage

CommandPurpose
wafw00f <url>Basic WAF detection scan
wafw00f https://example.comScan HTTPS site
wafw00f http://example.comScan HTTP site
wafw00f example.comScan domain (auto-detects protocol)

Output Options

OptionDescription
-vVerbose output
-aList all WAFs that were tested
-rFollow redirects
-VVersion information
-hShow help message
-lList all WAFs that wafw00f can detect
-p <port>Use a different port (default: 80/443)
-t <timeout>Set timeout (default: 10 seconds)

Request Options

OptionDescription
-H <header>Add custom header (can be used multiple times)
-c <cookie>Add cookie to request
-A <user-agent>Set custom user agent
-m <method>HTTP method to use (default: GET)
-d <data>POST data
-X <method>HTTP method (GET, POST, PUT, DELETE, etc.)
--proxy <proxy>Use proxy (format: http://host:port)

Advanced Options

OptionDescription
-fTest for false positives
--findallFind all WAFs (don’t stop at first match)
--jsonOutput in JSON format
--xmlOutput in XML format
--csvOutput in CSV format
-o <file>Output to file
--format <format>Output format (normal, json, xml, csv)

Useful Examples

Basic WAF Detection

wafw00f https://example.com

Verbose Output

wafw00f -v https://example.com

List All Detectable WAFs

wafw00f -l

Scan with Custom Port

wafw00f -p 8080 http://example.com

Scan with Custom User Agent

wafw00f -A "Mozilla/5.0" https://example.com

Scan with Custom Headers

wafw00f -H "X-Forwarded-For: 127.0.0.1" https://example.com
wafw00f -c "session=abc123" https://example.com

Scan Through Proxy

wafw00f --proxy http://127.0.0.1:8080 https://example.com

POST Request Scan

wafw00f -X POST -d "data=test" https://example.com

Find All WAFs (Don’t Stop at First Match)

wafw00f --findall https://example.com

Test for False Positives

wafw00f -f https://example.com

JSON Output

wafw00f --json https://example.com

Output to File

wafw00f -o results.txt https://example.com

Follow Redirects

wafw00f -r https://example.com

Comprehensive Scan with Multiple Options

wafw00f -v -r -A "Mozilla/5.0" --findall -o results.txt https://example.com

Scan with Custom Timeout

wafw00f -t 30 https://example.com

Show All Tested WAFs

wafw00f -a https://example.com