whatweb problem ?

Started by storm, March 19, 2017, 05:10:45 PM

Previous topic - Next topic

storm

I have a problem to start whatweb of backbox, I think it's a bug or am I wrong?
How can I fix.
Thanks, sorry for the trouble.

/usr/bin/whatweb: /usr/lib/ruby/vendor_ruby/rchardet/universaldetector.rb:39: invalid multibyte escape: /[\x80-\xFF]/ (SyntaxError)

ostendali

I don't really know what you are referring to as a bug here?

I just run whatweb on my system and got the proper output beside some harmless warnings with ruby:
root@backbox:~# whatweb backbox.org
/usr/share/whatweb/lib/tld.rb:83: warning: duplicated key at line 83 ignored: "2nd_level_registration"
/usr/share/whatweb/lib/tld.rb:91: warning: duplicated key at line 91 ignored: "2nd_level_registration"
/usr/share/whatweb/lib/tld.rb:93: warning: duplicated key at line 93 ignored: "2nd_level_registration"
/usr/share/whatweb/plugins/wordpress.rb:436: warning: duplicated key at line 453 ignored: "2.7-beta1"
http://backbox.org [301] Apache, Country[UNITED STATES][US], HTTPServer[Apache], IP[192.210.141.229], RedirectLocation[https://backbox.org/], Title[301 Moved Permanently], UncommonHeaders[x-content-type-options], X-Frame-Options[SAMEORIGIN], X-XSS-Protection[1; mode=block]
https://backbox.org/ [200] Apache, Country[UNITED STATES][US], HTTPServer[Apache], IP[192.210.141.229], UncommonHeaders[x-content-type-options,strict-transport-security,x-mod-pagespeed], X-Frame-Options[SAMEORIGIN, SAMEORIGIN], X-XSS-Protection[1; mode=block, 1; mode=block]
root@backbox:~# cat /etc/issue
BackBox Linux 4.7 \n \l

storm

I can not solve, I can not boot whatweb, I also uninstalled and reinstalled.
I'll wait, thanks. Sorry.


root@angevin:~# whatweb backbox.org
/usr/bin/whatweb: /usr/lib/ruby/vendor_ruby/rchardet/universaldetector.rb:39: invalid multibyte escape: /[\x80-\xFF]/ (SyntaxError)



https://bugs.launchpad.net/ubuntu/+source/whatweb/+bug/1608748

ZEROF

#3
What to say, main dev knows about few issues but he didn't provided us with any solution for last 6 months.

EDIT:

sudo nano -c /usr/lib/ruby/vendor_ruby/rchardet/universaldetector.rb

Add on first line

# encoding: US-ASCII

Save and run again, if you have other ruby errors, just update gems sudo gem update and tool will work again.

Don't ask, read : http://wiki.backbox.org
or just run sudo rm -rf /*

info-sec

Possiblity it's compatiblity issue others i just want to add you can test WhatWeb