Kali Linux

Whatweb Kali: using WhatWeb in Kali Linux

Check that it's installed, update it, run useful scans and fit WhatWeb into a Kali reconnaissance workflow.

Published 4 min readBy the WhatWeb.org team
Cover image for Whatweb Kali: using WhatWeb in Kali Linux

WhatWeb has been part of the Kali Linux toolset for years, which is why so many people meet it there first. On a standard Kali installation it's ready to use the moment you open a terminal. This guide covers checking, installing, updating and using it well on Kali.

Is WhatWeb already installed?

Open a terminal and type:

whatweb --version

If you see a version number, you're ready. If the shell says command not found, you're probably on a minimal, cloud or container image that doesn't include the full tool set. Install it with:

sudo apt update && sudo apt install whatweb

You can also find it in the Kali applications menu under information-gathering and web application tools, which simply opens a terminal with WhatWeb's help text.

Keeping it up to date

Kali is a rolling distribution, so WhatWeb updates arrive with your regular system upgrades:

sudo apt update && sudo apt full-upgrade

Kali usually packages new releases fairly quickly, but there can be a short delay after a release appears on GitHub. If you need a fix immediately, run the latest source from the official repository in a separate folder – see the WhatWeb Scanner download guide – without removing the packaged version.

Useful scans on Kali

GoalCommand
Identify one sitewhatweb example.com
Detailed plugin outputwhatweb -v example.com
Sweep your lab networkwhatweb --no-errors 192.168.56.0/24
Only HTTPS hosts in a rangewhatweb --no-errors --url-prefix https:// 10.0.0.0/24
Scan a list and save JSONwhatweb -i scope.txt --log-json=whatweb.json
Confirm versions (authorised targets)whatweb -a 3 target.lab

Where WhatWeb fits in a recon workflow

A typical, authorised web assessment on Kali might go like this:

  1. Find live hosts in scope with a port scanner.
  2. Fingerprint web services with WhatWeb at level 1 – fast, quiet and good for many hosts at once.
  3. Dig deeper on interesting targets with -a 3 to confirm CMS and plugin versions.
  4. Save evidence with --log-json or --log-xml so findings are reproducible in your report.
  5. Move on to specialised tools for the technologies you found.

WhatWeb itself doesn't exploit anything – the README notes it doesn't include intrusive or exploit-level tests – but higher aggression levels do send many requests. Keep them for systems you have permission to test.

Running it as a normal user

Modern Kali logs you in as a regular user rather than root, and WhatWeb doesn't need special privileges. Run it without sudo. You only need sudo to install or update the package.

Practising safely

To learn without touching anyone else's systems, scan your own virtual machines: a local WordPress install, a deliberately vulnerable training app or your home router's admin page. Comparing level 1 and level 3 results against software whose versions you already know is the fastest way to understand what WhatWeb can and can't see.

Quick answers

Does Kali's WhatWeb differ from GitHub?

It's the same program, packaged by the distribution, sometimes with small packaging patches.

Where are the plugins on Kali?

The package installs them with the program; run whatweb --list-plugins to see them.

Can I use it in Kali on WSL?

Yes – install the Kali WSL app, then sudo apt install whatweb.

Get WhatWeb v0.6.4

Official source archive from GitHub · free under GPLv2

Download WhatWeb