WhatWeb

Outil d'empreinte des technologies web. Identifie les CMS, frameworks, logiciels serveur, outils d'analytics, et plus de 1800 autres technologies web à partir des réponses HTTP. Web technology fingerprinting tool. Identifies CMS, frameworks, server software, analytics, and 1800+ other web technologies from HTTP responses.

↗ https://github.com/urbanadventurer/WhatWeb

Overview

WhatWeb identifies web technologies including CMS (WordPress, Joomla), frameworks (Rails, Django), web servers (Apache, nginx), analytics platforms, JavaScript libraries, and security headers. It uses 1800+ plugins and supports aggressive scanning to extract version numbers.

Basic Usage

Basic fingerprint

whatweb https://target.com

Multiple targets

whatweb https://target1.com https://target2.com

From file

whatweb -i targets.txt

Suppress errors, only show found tech

whatweb https://target.com --no-errors

Aggression Levels

Level 1: Passive (single request, default)

whatweb -a 1 https://target.com

Level 3: Aggressive (extra requests to confirm versions)

whatweb -a 3 https://target.com

Level 4: Heavy (scan every file on target)

whatweb -a 4 https://target.com

Output Formats

Verbose (show all plugins and details)

whatweb -v https://target.com

JSON output

whatweb https://target.com -l JSON

XML output

whatweb https://target.com -l XML

CSV output

whatweb https://target.com -l CSV

Brief output (hostnames only)

whatweb https://target.com -q
# Log to file
whatweb https://target.com --log-json=results.json
whatweb https://target.com --log-xml=results.xml
whatweb https://target.com --log-brief=results.txt

Scanning Ranges

Subnet scan

whatweb 10.10.10.0/24

With port

whatweb http://10.10.10.1:8080

Concurrent threads

whatweb https://target.com -t 20
# Follow redirects (max N)
whatweb https://target.com --follow-redirect NEVER
whatweb https://target.com --follow-redirect ALWAYS
whatweb https://target.com --follow-redirect SAME-SITE

Authentication

HTTP basic auth

whatweb --user admin:password https://target.com

Cookie

whatweb --cookie "session=abc123" https://target.com

Custom header

whatweb https://target.com -H "X-Forwarded-For: 127.0.0.1"

Through proxy

whatweb --proxy 127.0.0.1:8080 https://target.com

Useful Plugins

List all available plugins

whatweb --list-plugins
# Search plugins
whatweb --list-plugins | grep -i wordpress
whatweb --list-plugins | grep -i nginx

Tips

  • Use -a 3 for engagements — it confirms version numbers which is crucial for finding CVEs
  • WhatWeb’s CMS detection helps immediately target WordPress (wpscan), Joomla (joomscan), etc.
  • Combine with nikto for a quick web server survey
  • Version numbers from WhatWeb can be fed directly into searchsploit or Exploit-DB lookups
Help / Man page
whatweb [options] <URLs>

-i, --input-file FILE       URL list
-a, --aggression N          1=Passive, 3=Aggressive, 4=Heavy
-t, --max-threads N         Threads (default: 25)
-v, --verbose               Verbose output
-q, --quiet                 Suppress output
--no-errors                 Suppress error messages
--follow-redirect MODE      NEVER, ALWAYS, SAME-SITE, SAME-DOMAIN
-u, --user USER:PASS        HTTP auth
--cookie COOKIE             Cookie string
-H, --header HEADER         Extra header
--proxy HOST:PORT           HTTP proxy
--list-plugins              List all plugins
-l FORMAT                   Log format: JSON, XML, CSV, BRIEF, MONGO, ELASTIC
--log-json FILE             JSON log file
--log-xml FILE              XML log file
--log-brief FILE            Brief log file

Vue d’ensemble

WhatWeb identifie les technologies web incluant les CMS (WordPress, Joomla), les frameworks (Rails, Django), les serveurs web (Apache, nginx), les plateformes d’analytics, les bibliothèques JavaScript, et les en-têtes de sécurité. Il utilise plus de 1800 plugins et prend en charge un scan agressif pour extraire les numéros de version.

Utilisation de base

# Empreinte basique
whatweb https://target.com

# Plusieurs cibles
whatweb https://target1.com https://target2.com

# Depuis un fichier
whatweb -i targets.txt

# Supprimer les erreurs, n'afficher que les technologies trouvées
whatweb https://target.com --no-errors

Niveaux d’agressivité

# Niveau 1 : passif (une seule requête, par défaut)
whatweb -a 1 https://target.com

# Niveau 3 : agressif (requêtes supplémentaires pour confirmer les versions)
whatweb -a 3 https://target.com

# Niveau 4 : lourd (scanne chaque fichier sur la cible)
whatweb -a 4 https://target.com

Formats de sortie

# Verbeux (affiche tous les plugins et détails)
whatweb -v https://target.com

# Sortie JSON
whatweb https://target.com -l JSON

# Sortie XML
whatweb https://target.com -l XML

# Sortie CSV
whatweb https://target.com -l CSV

# Sortie brève (noms d'hôtes uniquement)
whatweb https://target.com -q

# Journaliser dans un fichier
whatweb https://target.com --log-json=results.json
whatweb https://target.com --log-xml=results.xml
whatweb https://target.com --log-brief=results.txt

Scan de plages

# Scan de sous-réseau
whatweb 10.10.10.0/24

# Avec un port
whatweb http://10.10.10.1:8080

# Threads concurrents
whatweb https://target.com -t 20

# Suivre les redirections (max N)
whatweb https://target.com --follow-redirect NEVER
whatweb https://target.com --follow-redirect ALWAYS
whatweb https://target.com --follow-redirect SAME-SITE

Authentification

# Authentification HTTP basique
whatweb --user admin:password https://target.com

# Cookie
whatweb --cookie "session=abc123" https://target.com

# En-tête personnalisé
whatweb https://target.com -H "X-Forwarded-For: 127.0.0.1"

# Via un proxy
whatweb --proxy 127.0.0.1:8080 https://target.com

Plugins utiles

# Lister tous les plugins disponibles
whatweb --list-plugins

# Rechercher des plugins
whatweb --list-plugins | grep -i wordpress
whatweb --list-plugins | grep -i nginx

Conseils

  • Utiliser -a 3 en mission : cela confirme les numéros de version, essentiel pour trouver des CVE
  • La détection de CMS de WhatWeb permet de cibler immédiatement WordPress (wpscan), Joomla (joomscan), etc.
  • Combiner avec nikto pour un rapide état des lieux du serveur web
  • Les numéros de version issus de WhatWeb peuvent être directement injectés dans searchsploit ou des recherches Exploit-DB
Aide / Page de manuel
whatweb [options] <URLs>

-i, --input-file FILE       URL list
-a, --aggression N          1=Passive, 3=Aggressive, 4=Heavy
-t, --max-threads N         Threads (default: 25)
-v, --verbose               Verbose output
-q, --quiet                 Suppress output
--no-errors                 Suppress error messages
--follow-redirect MODE      NEVER, ALWAYS, SAME-SITE, SAME-DOMAIN
-u, --user USER:PASS        HTTP auth
--cookie COOKIE             Cookie string
-H, --header HEADER         Extra header
--proxy HOST:PORT           HTTP proxy
--list-plugins              List all plugins
-l FORMAT                   Log format: JSON, XML, CSV, BRIEF, MONGO, ELASTIC
--log-json FILE             JSON log file
--log-xml FILE              XML log file
--log-brief FILE            Brief log file