WPSCAN ruby/gem dependencies missing

837 views
Skip to first unread message

David Freelander

unread,
Jun 18, 2020, 8:38:30 AM6/18/20
to nokogiri-talk

I am in the OSCP course and I am trying to figure out why WPSCAN is not working. Any assistance would be most appreciated. I tried uninstalling WPSCAN and re-installing, no dice. I cant make sense of the error below. Any assistance would me most appreciated.

kali@kali:~$ wpscan
Traceback (most recent call last):
        12: from /usr/bin/wpscan:23:in `<main>'
        11: from /usr/lib/ruby/2.5.0/rubygems.rb:304:in `activate_bin_path'
        10: from /usr/lib/ruby/2.5.0/rubygems.rb:304:in `synchronize'
         9: from /usr/lib/ruby/2.5.0/rubygems.rb:305:in `block in activate_bin_path'
         8: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:1440:in `activate'
         7: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:1458:in `activate_dependencies'
         6: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:1458:in `each'
         5: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:1472:in `block in activate_dependencies'
         4: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:1440:in `activate'
         3: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:1458:in `activate_dependencies'
         2: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:1458:in `each'
         1: from /usr/lib/ruby/2.5.0/rubygems/specification.rb:1469:in `block in activate_dependencies'
/usr/lib/ruby/2.5.0/rubygems/dependency.rb:312:in `to_specs': Could not find 'nokogiri' (~> 1.10.8) - did find: [nokogiri-1.10.7] (Gem::MissingSpecVersionError)
Checked in 'GEM_PATH=/home/kali/.gem/ruby/2.5.0:/var/lib/gems/2.5.0:/usr/lib/ruby/gems/2.5.0:/usr/share/rubygems-integration/2.5.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0', execute `gem env` for more information
kali@kali:~$ gem env
RubyGems Environment:
  - RUBYGEMS VERSION: 2.7.6.2
  - RUBY VERSION: 2.5.7 (2019-10-01 patchlevel 206) [x86_64-linux-gnu]
  - INSTALLATION DIRECTORY: /var/lib/gems/2.5.0
  - USER INSTALLATION DIRECTORY: /home/kali/.gem/ruby/2.5.0
  - RUBY EXECUTABLE: /usr/bin/ruby2.5
  - EXECUTABLE DIRECTORY: /usr/local/bin
  - SPEC CACHE DIRECTORY: /home/kali/.gem/specs
  - SYSTEM CONFIGURATION DIRECTORY: /etc
  - RUBYGEMS PLATFORMS:
    - ruby
    - x86_64-linux
  - GEM PATHS:
     - /var/lib/gems/2.5.0
     - /home/kali/.gem/ruby/2.5.0
     - /usr/lib/ruby/gems/2.5.0
     - /usr/share/rubygems-integration/2.5.0
     - /usr/share/rubygems-integration/all
     - /usr/lib/x86_64-linux-gnu/rubygems-integration/2.5.0

Mike Dalessio

unread,
Jun 18, 2020, 8:41:22 AM6/18/20
to nokogiri-talk
Hi David,

Sorry you're having trouble. I'll try to help!

I'm not familiar with WPSCAN, but it looks like it's declared a dependency on Nokogiri v1.10.8 or higher, but your system only has Nokogiri v1.10.7 installed. Can you try to install v1.10.8 and see if that meets WPSCAN's expectations?

If you're having trouble installing v1.10.8, well, maybe I can help with that, too!

--
You received this message because you are subscribed to the Google Groups "nokogiri-talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nokogiri-tal...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nokogiri-talk/d0d890eb-5c0f-4cae-9cca-dfffe261b7fco%40googlegroups.com.

David Freelander

unread,
Jun 18, 2020, 12:04:42 PM6/18/20
to nokogiri-talk
Thank you Mike! That did the trick. I had a problem with the syntax and exact input gem install wanted.
To unsubscribe from this group and stop receiving emails from it, send an email to nokogi...@googlegroups.com.
Reply all
Reply to author
Forward
0 new messages