Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
W

WhatWeb

> 测试质量
Open source

Next generation web scanner

6.8K stars0 likes3 views
WebsiteGitHub

About

Next generation web scanner

WhatWeb - Next generation web scanner

Developed by Andrew Horton urbanadventurer and Brendan Coles bcoles

Latest Release: v0.6.4. April 3, 2026

License: GPLv2

This product is subject to the terms detailed in the license agreement. For more information about WhatWeb visit https://github.com/urbanadventurer/

Wiki: https://github.com/urbanadventurer/WhatWeb/wiki/

If you have any questions, comments or concerns regarding WhatWeb, please consult the documentation prior to contacting one of the developers. Your feedback is always welcome.

Contents

  • About WhatWeb
  • Example Usage
  • Usage
  • Logging & Output
  • Plugins
  • Aggression
  • Performance & Stability
  • Optional Dependencies
  • Writing Plugins
  • Updates & Additional Information
  • Release History
  • Credits

About WhatWeb

WhatWeb identifies websites. Its goal is to answer the question, "What is that Website?". WhatWeb recognises web technologies including content management systems (CMS), blogging platforms, statistic/analytics packages, JavaScript libraries, web servers, and embedded devices. WhatWeb has over 1800 plugins, each to recognise something different. WhatWeb also identifies version numbers, email addresses, account IDs, web framework modules, SQL errors, and more.

WhatWeb can be stealthy and fast, or thorough but slow. WhatWeb supports an aggression level to control the trade off between speed and reliability. When you visit a website in your browser, the transaction includes many hints of what web technologies are powering that website. Sometimes a single webpage visit contains enough information to identify a website but when it does not, WhatWeb can interrogate the website further. The default level of aggression, called 'stealthy', is the fastest and requires only one HTTP request of a website. This is suitable for scanning public websites. More aggressive modes were developed for use in penetration tests.

Most WhatWeb plugins are thorough and recognise a range of cues from subtle to obvious. For example, most WordPress websites can be identified by the meta HTML tag, e.g. '', but a minority of WordPress websites remove this identifying tag but this does not thwart WhatWeb. The WordPress WhatWeb plugin has over 15 tests, which include checking the favicon, default installation files, login pages, and checking for "/wp-content/" within relative links.

Features

  • Over 1800 plugins
  • Control the trade off between speed/stealth and reliability
  • Performance tuning. Control how many websites to scan concurrently with automatic output optimization.
  • Multiple log formats: Brief (greppable), Verbose (human readable), XML, JSON, MagicTree, RubyObject, MongoDB, ElasticSearch, SQL.
  • Proxy support including TOR
  • Custom HTTP headers
  • Basic HTTP authentication
  • Control over webpage redirection
  • IP address ranges
  • Fuzzy matching
  • Result certainty awareness
  • Custom plugins defined on the command line
  • IDN (International Domain Name) support
  • Dual-protocol scanning for simple hostnames (automatically tests both HTTP and HTTPS)

Example Usage

Using WhatWeb to scan reddit.com.

…

Usage

…

Logging & Output

The following types of logging are supported:

  • --log-brief=FILE Brief, one-line, greppable format
  • --log-verbose=FILE Verbose
  • --log-xml=FILE XML format. XSL stylesheet is provided
  • --log-json=FILE JSON format
  • --log-json-verbose=FILE JSON verbose format
  • --log-magictree=FILE MagicTree XML format
  • --log-object=FILE Ruby object inspection format
  • --log-mongo-database Name of the MongoDB database
  • --log-mongo-collection Name of the MongoDB collection. Default: whatweb
  • --log-mongo-host MongoDB hostname or IP address. Default: 0.0.0.0
  • --log-mongo-username MongoDB username. Default: nil
  • --log-mongo-password MongoDB password. Default: nil
  • --log-elastic-index Name of the index to store results. Default: whatweb
  • --log-elastic-host Host:port of the elastic http interface. Default: 127.0.0.1:9200
  • --log-errors=FILE Log errors. This is usually printed to the screen in red.

You can output to multiple logs simultaneously by specifying multiple command line logging options. Advanced users who want SQL output should read the source code to see unsupported features.

Plugins

Matches are made with:

  • Text strings (case sensitive)
  • Regular expressions
  • Google Hack Database queries (limited set of keywords)
  • MD5 hashes
  • URL recognition
  • HTML tag patterns
  • Custom ruby code for passive and aggressive operations

To list the plugins supported:

$ ./whatweb -l

WhatWeb Plugin List

Plugin Name - Description
--------------------------------------------------------------------------------
1024-CMS - 1024 is one of a few CMS's leading the way with the implementation...
360-Web-Manager - 360-Web-Manager
3COM-NBX - 3COM NBX phone system. The NBX NetSet utility is a web interface i...
3dcart - 3dcart - The 3dcart Shopping Cart Software is a complete ecommerce s...
4D - 4D web application deployment server
4images - 4images is a powerful web-based image gallery management system. Fe...
... (truncated)

Search Plugins

To view more detail about a plugin or search plugins for a keyword:

$ ./whatweb -I phpBB

WhatWeb Detailed Plugin List
Searching for phpBB
================================================================================
Plugin:         phpBB
--------------------------------------------------------------------------------
Description:    phpBB is a free forum 
Website:        http://phpbb.org/

Author:         Andrew Horton
Version:        0.3

Features:       [Yes]  Pattern Matching (7)
                [Yes]  Version detection from pattern matching
                [Yes]  Function for passive matches
                [Yes]  Function for aggressive matches
                [Yes]  Google Dorks (1)

Google Dorks:
[1] "Powered by phpBB"
================================================================================

Plugin Selection

All plugins are loaded by default.

Plugins can be selected by directories, files or plugin names as a comma delimited list with the -p or --plugin command line option.

Each list item may have a modifier: + adds to the full set, - removes from the full set and no modifier overrides the defaults.

Examples

  • --plugins +plugins-disabled,-foobar
  • --plugins +/tmp/moo.rb
  • --plugins foobar (only select foobar)
  • -p title,md5,+./plugins-disabled/
  • -p ./plugins-disabled,-md5

The --dorks command line option returns google dorks for the selected plugin. For example, --dorks wordpress returns "is proudly powered by WordPress"

The --grep, -g command line option searches the target page for the selected string and returns a match in a plugin called Grep if it is found.

Aggression

WhatWeb features several levels of aggression. By default the aggression level is set to 1 (stealthy) which sends a single HTTP GET request and also follows redirects.

--aggression, -a

  1. Stealthy Makes one HTTP request per target. Also follows redirects.
    2. Unused
    3. Aggressive Can make a handful of HTTP requests per target. This triggers
        aggressive plugins for targets only when those plugins are
        identified with a level 1 request first.
  4. Heavy  Makes a lot of HTTP requests per target. Aggressive tests from
        all plugins are used for all URLs.

Level 3 aggressive plugins will guess more URLs and perform actions that are potentially unsuitable without permission. WhatWeb currently does not support any intrusion/exploit level tests in plugins.

An example of the different results between level 1 and level 3:

A level 1, stealthy scan identifies that smartor.is-root.com/forum/ uses phpBB version 2:

$ ./whatweb smartor.is-root.com/forum/
http://smartor.is-root.com/forum/ [200] PasswordField[password], HTTPServer[Apache/2.2.15], PoweredBy[phpBB], Apache[2.2.15], IP[88.198.177.36], phpBB[2], PHP[5.2.13], X-Powered-By[PHP/5.2.13], Cookies[phpbb2mysql_data,phpbb2mysql_sid], Title[Smartors Mods Forums - Reloaded], Country[GERMANY][DE]

A level 3, aggressive scan triggers additional tests in the phpBB plugin which identifies that the website uses phpBB version 2.0.20 or higher:

$ ./whatweb -p plugins/phpbb.rb -a 3 smartor.is-root.com/forum/
http://smartor.is-root.com/forum/ [200] phpBB[2,>2.0.20]

Note the use of the -p argument to select only the phpBB plugin. It is advisable, but not mandatory, to select a specific plugin when attempting to fingerprint software versions in aggressive mode. This approach is far more stealthy as it will limit the number of requests.

WhatWeb has no caching so if you use aggressive plugins on redirecting URLs you may fetch the same files multiple times.

Performance & Stability

WhatWeb features several options to increase performance and stability.

  • --max-threads, -t Number of simultaneous threads. Default: 25.
  • --open-timeout Time in seconds. Default: 15
  • --read-timeout Time in seconds. Default: 30
  • --wait=SECONDS Wait SECONDS between connections This is useful when using a single thread.
  • --output-sync Force immediate output flushing to screen and logs for real-time monitoring (slower with high thread counts).
  • --output-buffer-size=SIZE Set output buffer size for screen and log output. 0=unbuffered, default=auto based on thread count.

The --wait and --max-threads commands can be used to assist in IDS evasion.

Output Performance Optimization

WhatWeb automatically optimizes output performance for both screen output and log files based on thread count:

  • Low thread counts (1-5):

    • Sync: Enabled (immediate flushing)
    • Buffer size: 1 (minimal buffering for real-time output)
    • Use case: Interactive scanning, real-time monitoring
  • Medium thread counts (6-50):

    • Sync: Disabled (async I/O)
    • Buffer size: 10 (small buffer for balanced performance)
    • Use case: Standard batch scanning including default (25 threads)
  • High thread counts (51+):

    • Sync: Disabled (async I/O)
    • Buffer size: 25 (larger buffer to minimize I/O contention)
    • Use case: High-volume scanning, large target lists (100+ threads)

You can override these defaults for both screen output and log files:

bash
# Force real-time output to screen and logs (slower but immediate)
./whatweb --output-sync -t 100 --log-brief=results.txt targets.txt

# Custom buffer size for high-volume logging
./whatweb --output-buffer-size=50 -t 100 --log-verbose=detailed.log targets.txt

# Disable buffering entirely for immediate file writes
./whatweb --output-buffer-size=0 -t 10 --log-json=results.json targets.txt

These optimizations apply to all output formats including brief, verbose, XML, JSON, and other log formats.

Technical Details

Output Sync Behavior:

  • Enabled: Each output line is immediately flushed to disk/screen (slower but real-time)
  • Disabled: Output is buffered in memory before writing (faster but delayed)

Buffer Size Impact:

  • Size 1: Minimal buffering, nearly immediate output
  • Size 10: Small buffer holds ~10 results before writing
  • Size 25+: Larger buffer reduces I/O system calls for better performance
  • Size 0: Completely unbuffered (equivalent to sync enabled)

Profiling Support

Enable performance profiling to identify bottlenecks:

bash
# Basic profiling to stderr
WHATWEB_PROFILE=1 ./whatweb -t 25 targets.txt

# Save profile to file
WHATWEB_PROFILE=1 WHATWEB_PROFILE_FILE=profile.txt ./wh

Issues· 51 open

View all issuesOpen on GitHub
  • #433

    No pre-compiled *.exe for Windows?

    Feature RequestUpdated Aug 29, 2026
  • #428

    whatweb:257:in `require_relative': cannot load such file -- /usr/bin/lib/messages (LoadError)

    Updated Jul 18, 2026
  • #431

    `make install` fails on macOS Tahoe

    Updated May 15, 2026
  • #401

    Installation via Brew for Mac Users

    Updated Nov 27, 2025
  • #429

    Update AUR package flagged as out-of-date

    Updated Nov 7, 2025
  • #414

    whatweb cant find getoptlong

    Updated Sep 10, 2025
  • #413

    Incorrect markdown in CHANGELOG.md (<meta> tag example)

    Updated Aug 26, 2025
  • #409

    Issue with Unsafe Legacy Renegotiation Detection in WhatWeb

    Updated Jul 25, 2025
  • #389

    using proxy + HTTPS ends with SSL session is not started yet

    Updated Jan 10, 2024
  • #398

    Trivial Improvements on the Technology Detection

    Updated Jul 4, 2023

> Tags

Rubyapplication-securityappsechackinghacking-tools

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 23, 2026
Category测试质量
PricingOpen source

> Related tools

J
Jest
JavaScript 测试框架
P
Playwright
现代端到端测试框架
E
eslint-plugin-test-selectors
Enforces that data-test-id attributes are added to interactive DOM elements (JSX) to help with UI testing. JSX only.