Command syntax
The basic command syntax for whatwaf is:--list flag without providing a URL.
Simple scanning example
To scan a website for WAF detection, simply provide the target URL:- Run multiple detection probes against the target URL
- Analyze HTTP responses for WAF signatures
- Report any detected WAFs
Understanding the output
whatwaf provides real-time output as it runs detection probes:Output format explained
* scanning <URL>- Indicates the scan has started* <probe> probe -> <URL>- Shows which detection probe is being executed\t- no detection (status=<code>)- Probe did not trigger a WAF\t+ waf=(<name>) status=<code>- WAF detected by this probe~ detected waf: <name>- Final detection result~ no waf detected- No WAF was found
Probe results
Each probe tests for different WAF signatures:- base probe - Tests the original URL without modifications
- sqli probe - Tests SQL injection patterns that WAFs commonly block
- xss probe - Tests cross-site scripting patterns
- path traversal probe - Tests directory traversal patterns
- And more depending on the detector database