Skip to content

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

@dotnetCarpenter

Description

@dotnetCarpenter

Error message:

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

Steps to reproduce:

$ which ruby
/usr/bin/ruby

$ ruby --version
ruby 3.3.8 (2025-04-09 revision b200bad6cd) [x86_64-linux-gnu]

$ whatweb -a 1 -v https://www.example.com
/usr/bin/whatweb:257:in `require_relative': cannot load such file -- /usr/bin/lib/messages (LoadError)
	from /usr/bin/whatweb:257:in `<main>'


$ whatweb 

.$$$     $.                                   .$$$     $.
$$$$     $$. .$$$  $$$ .$$$$$$.  .$$$$$$$$$$. $$$$     $$. .$$$$$$$. .$$$$$$.
$ $$     $$$ $ $$  $$$ $ $$$$$$. $$$$$ $$$$$$ $ $$     $$$ $ $$   $$ $ $$$$$$.
$ `$     $$$ $ `$  $$$ $ `$  $$$ $$' $ `$ `$$ $ `$     $$$ $ `$      $ `$  $$$'
$. $     $$$ $. $$$$$$ $. $$$$$$ `$  $. $  :' $. $     $$$ $. $$$$   $. $$$$$.
$::$  .  $$$ $::$  $$$ $::$  $$$     $::$     $::$  .  $$$ $::$      $::$  $$$$
$;;$ $$$ $$$ $;;$  $$$ $;;$  $$$     $;;$     $;;$ $$$ $$$ $;;$      $;;$  $$$$
$$$$$$ $$$$$ $$$$  $$$ $$$$  $$$     $$$$     $$$$$$ $$$$$ $$$$$$$$$ $$$$$$$$$'


WhatWeb - Next generation web scanner version 0.6.3.
Developed by Andrew Horton (urbanadventurer) and Brendan Coles (bcoles)
Homepage: https://morningstarsecurity.com/research/whatweb

Apt version:

$ apt show whatweb
Package: whatweb
Version: 0.6.3-1
Priority: optional
Section: ruby
Maintainer: Laszlo Boszormenyi (GCS) <[email protected]>
Installed-Size: 19.7 MB
Depends: ruby, ruby-ipaddress, ruby-addressable
Recommends: ruby-json, ruby-rchardet
Homepage: https://www.morningstarsecurity.com/research/whatweb
Download-Size: 2324 kB
APT-Manual-Installed: yes
APT-Sources: https://http.kali.org/kali kali-rolling/main amd64 Packages
Description: Next generation web scanner
 WhatWeb identifies websites. It recognises web technologies including
 content management systems (CMS), blogging platforms, statistic/analytics
 packages, JavaScript libraries, web servers, and embedded devices.
 .
 WhatWeb has over 900 plugins, each to recognise something different.
 It also identifies version numbers, email addresses, account IDs,
 web framework modules, SQL errors, and more.

Linkback:
Kali Linux:
https://www.kali.org/tools/whatweb/
https://pkg.kali.org/pkg/whatweb

Debian Linux:
https://bugs.debian.org/cgi-bin/pkgreport.cgi?package=whatweb

The #690932 [i| | ] [whatweb] whatweb: bashism in /bin/sh script bug report might be unrelated since it list plugins and I can not verify that I can get whatweb to even get to the phase of loading any plugins.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions