How to run WPScan on Windows

I test it on windows 8.1 and its work. Step by step mission:

Install WPScan

Download from http://wpscan.org/
Extract anywhere

Install ruby and rubysdk with rubyinstaller:

Download from http://rubyinstaller.org/downloads/
Run rubyinstaller-2.2.4.exe and DevKit-mingw64-32-4.7.2-20130224-1151-sfx.exe
Open command prompt and cd to devkit folder
Run ruby dk.rb init and ruby dk.rb install

Download curl win32 DLL from http://www.paehl.com/open_source/?CURL_7.48.0 (Download libcurl.dll (all versions) only)
Extract 7z file, and copy libcurl.dll from SSL dir to c:\ruby22\bin directory

Config ruby to run WPScan

Open command prompot and cd to WPScan folder
Install requied ruby gems:
gem install bundler
gem install typhoeus
gem install rspec-its
gem install ruby-progressbar
gem install nokogiri
gem install terminal-table
gem install webmock
gem install simplecov
gem install rspec
gem install xml-simple
gem install bundler && bundle install --without test

Run WPScan

ruby wpscan.rb

9 Comments

  1. I have followed your steps. Installation was successful. There is an error.
    [ERROR] Could not open library ‘libcurl’: .
    Could not open library ‘libcurl.dll’: .
    Could not open library ‘libcurl.so.4’: The specified module could not be found.
    Could not open library ‘libcurl.so.4.dll’: The specified module could not be found.

    Reply

  2. Awesome work here – You really are the bees knees.

    I’m working on it now, but I’m confident it will run well because of your concept

    Thanks alot!

    Reply

  3. i got this proplem

    C:\Users\feddy>C:\Ruby21-x64\bin\wpscan\wpscan.rb
    [ERROR] Could not open library ‘libcurl’: �5.
    Could not open library ‘libcurl.dll’: �5.
    Could not open library ‘libcurl.so.4’: The specified module could not be found.
    .
    Could not open library ‘libcurl.so.4.dll’: The specified module could not be found.

    Reply

    1. check with dependency walker about libcurl.dll.check with dependency walker about libcurl.dll.

      Reply

  4. how to resolve this?

    C:/Ruby23/lib/ruby/site_ruby/2.3.0/rbreadline.rb:1097:in `’: HOME environment variable (or HOMEDRIVE and HOMEPATH) must be set and point to a directory (RuntimeError)
    from C:/Ruby23/lib/ruby/site_ruby/2.3.0/rbreadline.rb:17:in `’
    from C:/Ruby23/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require’
    from C:/Ruby23/lib/ruby/site_ruby/2.3.0/rubygems/core_ext/kernel_require.rb:55:in `require’
    from C:/Ruby23/lib/ruby/site_ruby/2.3.0/readline.rb:10:in `’

    Reply

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s