Author Topic: whatweb problem ?  (Read 5857 times)

storm

  • Newbie
  • *
  • Posts: 5
    • View Profile
on: March 19, 2017, 05:10:45 PM
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.

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



ostendali

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 580
    • View Profile
Reply #1 on: March 23, 2017, 12:43:11 PM
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

  • Newbie
  • *
  • Posts: 5
    • View Profile
Reply #2 on: March 23, 2017, 05:47:58 PM
I can not solve, I can not boot whatweb, I also uninstalled and reinstalled.
I'll wait, thanks. Sorry.


Code: [Select]
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

  • Hero Member
  • *****
  • Posts: 1245
    • View Profile
    • Pen Tester
Reply #3 on: March 24, 2017, 02:03:49 PM
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.
« Last Edit: March 24, 2017, 04:22:36 PM by ZEROF »


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