You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It used to work fine till last week, now I'm getting the error when running wpscan:
<internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:86:in `require': cannot load such file -- nokogiri/nokogiri (LoadError)
from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:86:in `require'
from /var/lib/gems/3.1.0/gems/nokogiri-1.18.2-x86_64-linux/lib/nokogiri/extension.rb:31:in `rescue in <top (required)>'
from /var/lib/gems/3.1.0/gems/nokogiri-1.18.2-x86_64-linux/lib/nokogiri/extension.rb:4:in `<top (required)>'
from /var/lib/gems/3.1.0/gems/nokogiri-1.18.2-x86_64-linux/lib/nokogiri.rb:8:in `require_relative'
from /var/lib/gems/3.1.0/gems/nokogiri-1.18.2-x86_64-linux/lib/nokogiri.rb:8:in `<top (required)>'
from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:86:in `require'
from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:86:in `require'
from /var/lib/gems/3.1.0/gems/cms_scanner-0.14.3/lib/cms_scanner.rb:5:in `<top (required)>'
from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:86:in `require'
from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:86:in `require'
from /var/lib/gems/3.1.0/gems/wpscan-3.8.27/lib/wpscan.rb:8:in `<top (required)>'
from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:86:in `require'
from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:86:in `require'
from /var/lib/gems/3.1.0/gems/wpscan-3.8.27/bin/wpscan:4:in `<top (required)>'
from /usr/local/bin/wpscan:25:in `load'
from /usr/local/bin/wpscan:25:in `<main>'
/var/lib/gems/3.1.0/gems/nokogiri-1.18.2-x86_64-linux/lib/nokogiri/extension.rb:7:in `require_relative': /lib/x86_64-linux-gnu/libc.so: invalid ELF header - /var/lib/gems/3.1.0/gems/nokogiri-1.18.2-x86_64-linux/lib/nokogiri/3.1/nokogiri.so (LoadError)
from /var/lib/gems/3.1.0/gems/nokogiri-1.18.2-x86_64-linux/lib/nokogiri/extension.rb:7:in `<top (required)>'
from /var/lib/gems/3.1.0/gems/nokogiri-1.18.2-x86_64-linux/lib/nokogiri.rb:8:in `require_relative'
from /var/lib/gems/3.1.0/gems/nokogiri-1.18.2-x86_64-linux/lib/nokogiri.rb:8:in `<top (required)>'
from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:86:in `require'
from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:86:in `require'
from /var/lib/gems/3.1.0/gems/cms_scanner-0.14.3/lib/cms_scanner.rb:5:in `<top (required)>'
from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:86:in `require'
from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:86:in `require'
from /var/lib/gems/3.1.0/gems/wpscan-3.8.27/lib/wpscan.rb:8:in `<top (required)>'
from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:86:in `require'
from <internal:/usr/lib/ruby/vendor_ruby/rubygems/core_ext/kernel_require.rb>:86:in `require'
from /var/lib/gems/3.1.0/gems/wpscan-3.8.27/bin/wpscan:4:in `<top (required)>'
from /usr/local/bin/wpscan:25:in `load'
from /usr/local/bin/wpscan:25:in `<main>'
Running make and then wpscan --version inside the container gives the same error, and running gem uninstall nokogiri && gem install nokogiri --platform=ruby in the container makes it work.
When I try to install wpscan on a fresh Kali rolling Docker container using:
It used to work fine till last week, now I'm getting the error when running
wpscan
:I need to run:
to make it work again.
Can we fix the installation ?
The text was updated successfully, but these errors were encountered: