Results 1 to 7 of 7

Thread: Whatweb update died

  1. #1
    Just burned his ISO
    Join Date
    Oct 2010
    Posts
    4

    Default Whatweb update died

    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:
    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>'
    I tried adding rchardet by gem install rchardet and it doesn't work.
    Changing to ruby 1.8 gives me another error:
    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
    Is there a fix for this?

  2. #2
    My life is this forum Snayler's Avatar
    Join Date
    Jan 2010
    Posts
    1,418

    Default Re: Whatweb update died

    From what I've read, Whatweb 0.4.8 is still under development.

  3. #3
    Just burned his ISO
    Join Date
    Aug 2011
    Posts
    24

    Default Re: Whatweb update died

    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.

  4. #4
    Just burned his ISO
    Join Date
    Oct 2010
    Posts
    4

    Default

    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:
    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 `'
    I guess I have something wrong with my ruby? Is there any advice for a fix?
    Last edited by g0tmi1k; 02-14-2012 at 04:49 AM. Reason: Merged

  5. #5
    Senior Member
    Join Date
    Jan 2010
    Posts
    126

    Default Re: Whatweb update died

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

  6. #6
    Just burned his ISO
    Join Date
    Aug 2011
    Posts
    24

    Default

    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

  7. #7
    Just burned his ISO
    Join Date
    Oct 2010
    Posts
    4

    Default Re: Whatweb update died

    Thank you for your advice.

Similar Threads

  1. MSFRPCD Died
    By Soultaker666 in forum BackTrack 5 Beginners Section
    Replies: 2
    Last Post: 04-23-2012, 10:43 PM
  2. Replies: 1
    Last Post: 02-21-2012, 05:12 PM
  3. the process for the file protocol died unexpectedly
    By gotowe in forum BackTrack Bugs
    Replies: 0
    Last Post: 02-08-2010, 09:49 AM
  4. Acer Aspire One Mouse Died
    By Neondog82 in forum OLD BT3final Support
    Replies: 2
    Last Post: 01-10-2009, 10:14 PM
  5. The process for the file protocol died unexpectedly
    By bertje in forum OLD BT3beta Software related issues
    Replies: 6
    Last Post: 02-16-2008, 08:35 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •