wpscan: [ERROR] Install missing ruby gem.LoadError: no such file to load — nokogiri
Posted by alex in Errors at 1:05 AMIt is possible to receive an error after updating wpscan via “svn up” complaining about the nokogiri gem. This might be confusing because likely you already have the nokogiri gem installed on Backtrack Linux however it is likely a simple path issue. To resolve you can issue the below gem install –user-install command as shown in the below example.
wpscan Error After Updating To Revision 247:
root@bt:/pentest/web/wpscan# ./wpscan.rb -h [ERROR] Install missing ruby gem. Please see README file or http://code.google.com/p/wpscan/ #<LoadError: no such file to load -- nokogiri> root@bt:/pentest/web/wpscan#
Fixing the issue is easy by issuing the below gem install command.
Install nokogiri Ruby Gem With –user-install Switch:
root@bt:/pentest/web/wpscan# gem install --user-install nokogiri WARNING: You don't have /root/.gem/ruby/1.9.2/bin in your PATH, gem executables will not run. Building native extensions. This could take a while... Successfully installed nokogiri-1.5.2 1 gem installed Installing ri documentation for nokogiri-1.5.2... Installing RDoc documentation for nokogiri-1.5.2... root@bt:/pentest/web/wpscan#
As you can see below after issuing the above command you are now able to execute the wpscan.rb command without issue.
The wpscan.rb Help Output:
root@bt:/pentest/web/wpscan# ./wpscan.rb -h
____________________________________________________
__ _______ _____
/ / __ / ____|
/ / /| |__) | (___ ___ __ _ _ __
/ / / | ___/ ___ / __|/ _` | '_
/ / | | ____) | (__| (_| | | | |
/ / |_| |_____/ ___|__,_|_| |_| v1.1
WordPress Security Scanner by ethicalhack3r.co.uk
Sponsored by the RandomStorm Open Source Initiative
_____________________________________________________
Help:
--url The WordPress URL/domain to scan.
--enumerate Enumeration.
u users
v version
p plugins
t timthumb
--wordlist Supply a wordlist for the password bruter and do the brute.
--threads The number of threads to use when multi-threading requests.
--username Only brute force the supplied username.
--generate_plugin_list Generate a new data/plugins.txt file. (supply number of *pages* to parse)
--force Forces WPScan to not check if the remote site is running WordPress.
-h This help screen.
-v Verbose output.
--proxy Supply a proxy in the format host:port
--update Update to the latest SVN revision.
root@bt:/pentest/web/wpscan#
Happy WordPress scanning…
|
|
|
|




Entries (RSS)
good
[Reply]
alex Reply:
May 2nd, 2012 at 10:38 AM
Hello power20,
Thanks for taking the time to leave feedback.
Thanks.
alex
[Reply]
good information man
[Reply]
alex Reply:
December 22nd, 2012 at 7:11 PM
Hello Zix,
Thanks and thanks for posting feedback.
Thanks.
alex
[Reply]