This was my goto-dist when pentesting but lately I have spending more time reinstalling this system trying to figure out what breaks what.
Fresh install Parrot 5.3 I can run wpscan with no problem, after sudo apt full-update it doesn’t work anymore and there is nothing more than the systems bin installed.
Traceback (most recent call last):
12: from /usr/bin/wpscan:23:in `<main>'
11: from /usr/lib/ruby/vendor_ruby/rubygems.rb:301:in `activate_bin_path'
10: from /usr/lib/ruby/vendor_ruby/rubygems.rb:301:in `synchronize'
9: from /usr/lib/ruby/vendor_ruby/rubygems.rb:302:in `block in activate_bin_path'
8: from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1370:in `activate'
7: from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1388:in `activate_dependencies'
6: from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1388:in `each'
5: from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1406:in `block in activate_dependencies'
4: from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1370:in `activate'
3: from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1388:in `activate_dependencies'
2: from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1388:in `each'
1: from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1400:in `block in activate_dependencies'
/usr/lib/ruby/vendor_ruby/rubygems/dependency.rb:309:in `to_specs': Could not find 'nokogiri' (>= 1.11.4, < 1.14.0) - did find: [nokogiri-1.14.3] (Gem::MissingSpecVersionError)
Checked in 'GEM_PATH=/root/.local/share/gem/ruby/2.7.0:/var/lib/gems/2.7.0:/usr/local/lib/ruby/gems/2.7.0:/usr/lib/ruby/gems/2.7.0:/usr/lib/x86_64-linux-gnu/ruby/gems/2.7.0:/usr/share/rubygems-integration/2.7.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0' , execute `gem env` for more information
12: from /usr/bin/wpscan:23:in `<main>'
11: from /usr/lib/ruby/vendor_ruby/rubygems.rb:301:in `activate_bin_path'
10: from /usr/lib/ruby/vendor_ruby/rubygems.rb:301:in `synchronize'
9: from /usr/lib/ruby/vendor_ruby/rubygems.rb:302:in `block in activate_bin_path'
8: from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1370:in `activate'
7: from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1388:in `activate_dependencies'
6: from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1388:in `each'
5: from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1406:in `block in activate_dependencies'
4: from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1370:in `activate'
3: from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1388:in `activate_dependencies'
2: from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1388:in `each'
1: from /usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1399:in `block in activate_dependencies'
/usr/lib/ruby/vendor_ruby/rubygems/specification.rb:1402:in `rescue in block in activate_dependencies': Could not find 'nokogiri' (>= 1.11.4, < 1.14.0) among 157 total gem(s) (Gem::MissingSpecError)
Checked in 'GEM_PATH=/root/.local/share/gem/ruby/2.7.0:/var/lib/gems/2.7.0:/usr/local/lib/ruby/gems/2.7.0:/usr/lib/ruby/gems/2.7.0:/usr/lib/x86_64-linux-gnu/ruby/gems/2.7.0:/usr/share/rubygems-integration/2.7.0:/usr/share/rubygems-integration/all:/usr/lib/x86_64-linux-gnu/rubygems-integration/2.7.0' at: /usr/share/rubygems-integration/all/specifications/cms_scanner-0.13.7.gemspec, execute `gem env` for more information
Why does this happens? Made 13 installs this weekend and all get this error after an apt update. Arent’t the packages checked to work before pushed for update?