Skip to content

WhatWeb

70 commands

Identifies the technologies behind a website — CMS, frameworks, server software, analytics and versions — using over 1,800 plugins.

  • fingerprinting
  • technology detection

Install WhatWeb

sudo apt install whatweb

Basic Technology Detection4

whatweb example.com

Performs a default scan to identify web technologies on a single target domain.

whatweb http://192.168.1.10

Scans a local IP address using the HTTP protocol.

whatweb https://www.example.com

Scans a secure website using the HTTPS protocol.

whatweb example.com/page.html

Scans a specific webpage rather than the root domain.

Multiple Target Scanning3

whatweb example.com google.com yahoo.com

Scans multiple space-separated domains in a single execution.

whatweb 192.168.1.0/24

Scans an entire CIDR network range for web servers.

whatweb 192.168.1.10-192.168.1.20

Scans a specific range of IP addresses.

Input from File and STDIN2

whatweb -i targets.txt

Reads a list of targets from a specified file.

whatweb --input-file=targets.txt

Uses the long-form flag to read targets from a file.

Aggression Level Control4

whatweb -a 1 example.com

Performs a stealthy scan that makes only one HTTP request per target.

Link
whatweb --aggression 1 example.com

Explicitly sets the aggression level to stealth mode.

Link
whatweb -a 3 example.com

Performs an aggressive scan with multiple requests and plugin triggers.

Link
whatweb -a 4 example.com

Performs a heavy scan that attempts to identify every possible plugin.

Link

Plugin Listing and Selection6

whatweb -l

Lists all available plugins currently installed in WhatWeb.

Link
whatweb --list-plugins

Displays the full list of plugins using the long flag.

Link
whatweb -p wordpress example.com

Runs only the WordPress plugin against the target.

Link
whatweb -p "jquery,html5" example.com

Runs a specific set of comma-separated plugins.

Link
whatweb --info-plugins="wordpress"

Displays detailed information about the specific WordPress plugin.

Link
whatweb --search-plugins="cms"

Searches for plugins containing the keyword 'cms'.

Link

User Agent Customization2

whatweb -U "Mozilla/5.0" example.com

Sets a custom User-Agent string for the scan requests.

Link
whatweb --user-agent "Googlebot/2.1" example.com

Impersonates the Googlebot crawler during the scan.

Link

Authentication Handling2

whatweb -u user:password example.com

Uses Basic HTTP Authentication with the provided credentials.

Link
whatweb --user user:password example.com

Uses the long flag to provide Basic Authentication credentials.

Link

Proxy and Network Configuration2

whatweb --proxy 127.0.0.1:8080 example.com

Routes scan traffic through an HTTP proxy.

Link
whatweb --proxy-user user:pass example.com

Provides authentication credentials for the proxy server.

Link

Redirect and Response Handling2

whatweb --follow-redirect=always example.com

Forces the scanner to always follow HTTP redirects.

Link
whatweb --follow-redirect=never example.com

Prevents the scanner from following any HTTP redirects.

Link

Timeout and Performance5

whatweb --max-threads 25 example.com

Increases the number of concurrent threads to speed up scanning.

Link
whatweb -t 10 example.com

Sets the maximum concurrent threads to 10.

Link
whatweb --open-timeout 5 example.com

Sets the connection timeout limit to 5 seconds.

Link
whatweb --read-timeout 10 example.com

Sets the timeout for reading the HTTP response to 10 seconds.

Link
whatweb --wait 2 example.com

Adds a delay of 2 seconds between requests to avoid detection.

Link

Logging and Output Control8

whatweb --log-brief=result.txt example.com

Logs a brief, one-line summary of results to a text file.

Link
whatweb --log-verbose=result.txt example.com

Logs detailed results including headers and descriptions to a text file.

Link
whatweb --log-xml=result.xml example.com

Exports the scan results in XML format.

Link
whatweb --log-json=result.json example.com

Exports the scan results in JSON format.

Link
whatweb --log-sql=result.sql example.com

Exports results as SQL INSERT statements.

Link
whatweb --log-magictree=result.xml example.com

Exports results in MagicTree XML format.

Link
whatweb --log-object=ruby_object example.com

Logs the raw Ruby object structure.

Link
whatweb --log-mongo-database=dbname example.com

Logs results directly to a MongoDB database.

Link

Verbose and Debug Modes3

whatweb -v example.com

Enables verbose mode to show plugins and detailed analysis.

Link
whatweb --verbose example.com

Uses the long flag to enable verbose output.

Link
whatweb --debug example.com

Enables debug mode to see errors and internal processing.

Link

Quiet and Script Friendly5

whatweb -q example.com

Enables quiet mode to suppress standard output.

Link
whatweb --quiet example.com

Uses the long flag to suppress output.

Link
whatweb --no-errors example.com

Suppresses error messages from the output.

Link
whatweb --color=never example.com

Disables color output for easier text parsing.

Link
whatweb --color=always example.com

Forces color output even when piping to files.

Link

Red Team Technology Enumeration3

whatweb -a 3 --no-errors -t 20 192.168.1.0/24

Aggressively scans a subnet with high concurrency and error suppression.

Link
whatweb -a 3 -p "wordpress,joomla,drupal" example.com

Aggressively checks specifically for common CMS platforms.

Link
whatweb --custom-plugin "myplugin.rb" example.com

Runs a custom-written Ruby plugin against the target.

Link

Blue Team Surface Monitoring2

whatweb --log-json=inventory.json 192.168.1.0/24

Generates a JSON inventory of all web assets in the network.

Link
whatweb -a 1 --log-brief=daily_scan.txt -i targets.txt

Performs a daily stealth scan of known targets for change monitoring.

Link

Advanced and Combined Real World Scans10

whatweb -a 3 -v --log-xml=report.xml example.com

Combines aggression, verbosity, and XML logging for a full audit.

Link
whatweb --proxy 127.0.0.1:9050 --proxy-type socks5 example.com

Scans a target through a SOCKS5 proxy (e.g., Tor).

Link
whatweb -a 3 --user-agent "Mozilla/5.0" --header "Referer: google.com" example.com

Mimics a user clicking from Google with a standard browser agent.

Link
whatweb -p +Title example.com

Explicitly enables the Title plugin in addition to defaults.

Link
whatweb -p -Title example.com

Excludes the Title plugin from the current scan.

Link
whatweb --url-prefix https:// example.com

Forces the scanner to prepend https:// to the target.

Link
whatweb --url-suffix /admin example.com

Appends a specific path suffix to all target URLs.

Link
whatweb --max-redirects 5 example.com

Limits the number of redirects followed to prevent loops.

Link
whatweb --dids

Lists the DIDs (Document IDs) of plugins.

Link
whatweb --grep "Apache" example.com

Shows only results matching the string 'Apache'.

Link

Automation and Pipeline Usage2

cat targets.txt | whatweb --input-file -

Pipes targets from standard input into WhatWeb.

Link
whatweb --log-json=/dev/stdout example.com | jq .

Pipes JSON output directly to jq for parsing.

Link

Help and Documentation2

whatweb --help

Displays the short help menu and usage options.

Link
whatweb --man

Displays the full manual page for the tool.

Link