Ultimate WhatWeb Cheat Sheet
Ultimate WhatWeb Cheat Sheet
A reference guide for the web fingerprinting tool. Identify everything about a website.
1. Basic Syntax
The fundamental structure of a WhatWeb command.
Basic Scan
whatweb example.com: Quick scanwhatweb https://example.com: Specify protocolwhatweb 192.168.1.1: IP addresswhatweb example.com:8080: Custom port
Multiple Targets
whatweb example.com test.com: Multiple URLswhatweb --input-file=targets.txt: From filewhatweb 192.168.1.0/24: CIDR rangewhatweb 192.168.1.1-100: IP range
2. Aggression Levels
Stealthy Scan (Level 1)
Single HTTP request per target. Minimal footprint.
Normal Scan (Level 3 - Default)
Balanced scanning. Multiple requests but not aggressive.
Aggressive Scan (Level 4)
Heavy scanning. More HTTP requests and plugin checks.
Higher aggression levels provide more detailed results but increase detection risk and scan time. Use level 1 for reconnaissance on sensitive targets.
3. Scanning Modes
Verbose Output
Show detailed information about what's being detected.
Very Verbose
Show even more detail including errors and redirects.
Custom User Agent
Mimic different browsers or devices.
Random User Agent
Use a random UA for each request to avoid detection.
4. Output Formats
WhatWeb supports multiple output formats for different needs.
JSON Output
XML Output
CSV Output
SQL Output (MySQL)
| Format Flag | Description |
|---|---|
--log-json=FILE | Save results in JSON format |
--log-xml=FILE | Save results in XML format |
--log-csv=FILE | Save results in CSV format |
--log-sql=FILE | Save results in SQL format |
--log-verbose=FILE | Save verbose output |
5. Plugin Management
List All Plugins
Search for Specific Plugins
Find plugins related to WordPress, Joomla, etc.
Run Specific Plugin
Run only WordPress-related plugins.
Run Plugin Category
Run all CMS detection plugins.
CMS, JavaScript, SQL, Ecommerce, Blog, Framework, etc. Use --list-plugins to see all available options.
6. Advanced Features
Proxy Support
Route traffic through proxy (Burp Suite, etc.).
Custom Headers
Add custom HTTP headers to requests.
Cookie Support
Send cookies with requests for authenticated scanning.
Timeout Control
Adjust timeout for slow servers.
Parallel Scanning
Use multiple threads for faster scanning.
| Advanced Flag | Description |
|---|---|
--proxy=PROXY | Use proxy for scanning |
--header=HEADER | Add custom HTTP header |
--cookie=COOKIE | Send cookies |
--timeout=SECONDS | Request timeout (default 30) |
--max-threads=N | Parallel threads (default 25) |
--follow-redirect=never | Don't follow redirects |
Using high thread counts (--max-threads=100) can trigger rate limiting or WAF blocks. Start with default settings and increase gradually.
Post a Comment