Skip to content
Andrew Horton edited this page Jun 9, 2020 · 33 revisions

WhatWeb is cross-platform compatible and works in any Ruby 2.x environment including Windows, Mac OSX and Linux.

Get WhatWeb

Use WhatWeb in a Linux Security Distribution

The easiest way to get started with WhatWeb is to use it in one of the following Linux distributions.

In Kali Linux just type whatweb in the terminal.

  • Kali Linux (The Most Popular Penetration Testing Distribution)
  • BackBox Linux (Ubuntu Lucid Flexible Penetration Testing Distribution)
  • BackTrack (Penetration Testing Distribution that was later renamed Kali)
  • Blackbuntu Linux (Ubuntu Penetration Testing Distribution)
  • PenToo (Gentoo Penetrating Testing Distribution)
  • Node Zero Linux (Ubuntu Penetration Testing Distribution)

Download a Release

Visit https://github.com/urbanadventurer/WhatWeb/releases and download the most recent stable release.

Download the release as a ZIP file

unzip WhatWeb-v0.5.2.zip
cd WhatWeb-0.5.2/

Alternatively download the release as a tar.gz file

tar -zxvf WhatWeb-v0.5.2.tar.gz
cd WhatWeb-0.5.2/

Get the latest development version

git clone https://github.com/urbanadventurer/WhatWeb.git
cd WhatWeb/

Install Dependencies

Install using the Makefile

This will install WhatWeb system wide under Linux or macOS.

make install

Install Manually

Install the bundler, the Ruby dependency manager.

gem install bundler

Update Bundler

bundle update

Execute bundler from the WhatWeb source folder to install dependencies defined in Gemfile.

bundle install

WhatWeb should be installed in your local folder

./whatweb --version

Install Ruby

It is possible you need to install ruby first.

If you are using Debian or Ubuntu Linux you can use apt. These instructions haven't been checked for recent versions of Ubuntu or Ruby. Please provide feedback.

sudo apt install ruby ruby-dev libopenssl-ruby

For a Fedora-based system you can use yum or dnf to install the dependencies.

sudo dnf -y install ruby ruby-dev rubygems

Optional Dependencies

WhatWeb degrades gracefully when these dependencies aren't available.

MongoDB

Provides logging to Mongo databases.

sudo gem install bson
sudo gem install bson_ext
sudo gem install mongo

RChardet

Language character set detection. This is required for converting results to UTF-8, a dependency of logging to MongoDB. ⚠️ This feature slows performance ⌛

sudo gem install rchardet

Tutorials

There are many tutorials on how to use WhatWeb on YouTube.

WhatWeb on tools.kali.org

whatweb – Tool to Discover Security Vulnerabilities With Your Web Application

Archangel Amael has written a quick guide to get Whatweb 0.4.2 going in Backtrack 4

VulnerabilityAssessment.co.uk has written a small guide on installing WhatWeb in Ubuntu

Historic Source Archive

More recent versions are available on https://github.com/urbanadventurer/WhatWeb/releases

Linux Distribution Packages

Please note that these packages are not up to date.

Clone this wiki locally