From what I've read, Whatweb 0.4.8 is still under development.
Today when I check routine update, whatweb has an update form 0.4.7 to 0.4.8.
After the update, I got an error when running it:
I tried adding rchardet by gem install rchardet and it doesn't work.Code:root@vulman-bt5r1:/pentest/enumeration/web/whatweb# ./whatweb /var/lib/gems/1.9.2/gems/gems/rchardet-1.3/lib/rchardet.rb:25:in `require': /var/lib/gems/1.9.2/gems/gems/rchardet-1.3/lib/rchardet/chardistribution.rb:60: syntax error, unexpected ':', expecting keyword_then or ';' or '\n' (SyntaxError) /var/lib/gems/1.9.2/gems/gems/rchardet-1.3/lib/rchardet/chardistribution.rb:61: syntax error, unexpected ':', expecting keyword_then or ';' or '\n' /var/lib/gems/1.9.2/gems/gems/rchardet-1.3/lib/rchardet/chardistribution.rb:75: syntax error, unexpected ':', expecting keyword_then or ';' or '\n' /var/lib/gems/1.9.2/gems/gems/rchardet-1.3/lib/rchardet/chardistribution.rb:84: syntax error, unexpected keyword_end, expecting $end from /var/lib/gems/1.9.2/gems/gems/rchardet-1.3/lib/rchardet.rb:25:in `<top (required)>' from ./whatweb:79:in `require' from ./whatweb:79:in `block in <main>' from ./whatweb:75:in `each' from ./whatweb:75:in `<main>'
Changing to ruby 1.8 gives me another error:
Is there a fix for this?Code:root@vulman-bt5r1:/pentest/enumeration/web/whatweb# ./whatweb /var/lib/gems/1.9.2/gems/gems/json-1.6.5/ext/json/ext/json/ext/parser.so: [BUG] Segmentation fault ruby 1.8.7 (2010-01-10 patchlevel 249) [x86_64-linux] Aborted
From what I've read, Whatweb 0.4.8 is still under development.
ouch, I was freaking out about my messed up ruby, lately I blame everything to ruby (inside joke).
Good to know it's under development.
So I should get 0.4.7 back, right? I downloaded 0.4.7 from the developer's website, but when I tried to run, I still got the following error:I guess I have something wrong with my ruby? Is there any advice for a fix?Code:root@vulman-bt5r1:~/Desktop/whatweb-0.4.7# ./whatweb /var/lib/gems/1.9.2/gems/gems/rchardet-1.3/lib/rchardet.rb:25:in `require': /var/lib/gems/1.9.2/gems/gems/rchardet-1.3/lib/rchardet/chardistribution.rb:60: syntax error, unexpected ':', expecting keyword_then or ';' or '\n' (SyntaxError) /var/lib/gems/1.9.2/gems/gems/rchardet-1.3/lib/rchardet/chardistribution.rb:61: syntax error, unexpected ':', expecting keyword_then or ';' or '\n' /var/lib/gems/1.9.2/gems/gems/rchardet-1.3/lib/rchardet/chardistribution.rb:75: syntax error, unexpected ':', expecting keyword_then or ';' or '\n' /var/lib/gems/1.9.2/gems/gems/rchardet-1.3/lib/rchardet/chardistribution.rb:84: syntax error, unexpected keyword_end, expecting $end from /var/lib/gems/1.9.2/gems/gems/rchardet-1.3/lib/rchardet.rb:25:in `' from ./whatweb:87:in `require' from ./whatweb:87:in `'
Last edited by g0tmi1k; 02-14-2012 at 04:49 AM. Reason: Merged
my 0.4.8 works "perfectly" with no modifications; from either maxfx's bt5up or sickness bt5 updater.
id suggest going that route than manually breaking other things...
Personally I rollback all the tools depending on Ruby192, it's way too buggy, also died about a month ago. In synaptic, just click on "package" then "force version", then a window will pop up with the available versions. So you can install your previous version, I did that after beEF required ruby1.9.2 , so I went back to the older working version supporting ruby1.8.0, a more stable version. Bug #361 refers that exact output. I was looking around and they are working on it, probably will be fix it for the bt5r2. And there are few sweet tools![]()
Last edited by g0tmi1k; 02-14-2012 at 04:49 AM. Reason: Merged
Thank you for your advice.![]()