Skip to content
Andrew Horton edited this page Jun 8, 2018 · 33 revisions

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

Get the Source

Source Archive

Packages

Please note that these packages may not be up to date.

WhatWeb is bundled with:

  • BackBox Linux (Ubuntu Lucid Flexible Penetration Testing Distribution)
  • BackTrack (The Default Penetration Testing Distribution)
  • Blackbuntu Linux (Ubuntu Penetration Testing Distribution)
  • PenToo (Gentoo Penetrating Testing Distribution)
  • Node Zero Linux (Ubuntu Penetration Testing Distribution)

Tutorials

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

Install Ruby

If you are using Debian or Ubuntu Linux you can use apt.

sudo apt-get 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

Install Dependencies (For Version 0.5.0-dev and later)

Install the bundler, the Ruby dependency manager.

gem install bundler

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

bundle install

If you see an error about json gem version 1.8.3, execute the following command.

bundle update

Optional, Recommended Dependencies

WhatWeb degrades gracefully when these dependencies aren't available. Gems are ruby libraries.

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 slows performance.

sudo gem install rchardet

Troubleshooting

If you have any trouble ask us for help.

Note:

  • WhatWeb is not compatible with Ruby 1.x.
  • Colored output is not supported in Windows.
  • Colour is designed for terminals with a black background

Clone this wiki locally