Jump to content

Installing WPScan on Kali Linux WSL

Recommended Posts

I'm trying to install WPScan on Kali Linux WSL.

After installing Kali I followed the instructions from the following post:

How to Install WordPress Vulnerability Scanner WPScan on Kali Linux

In step 6 it says:
Now in order to use WPscan tool we will require bundler. As we know WPScan is an ruby application which uses ‘Gems’ as part of programming language. Bundler will help keep WPScan and all of its “gems” or dependencies updated effectively.

We can install bundler by running below command in WPScan directory :

sudo gem install bundler && bundle install --without test

I ran the command, and this is the result:

REDACTED:~$ cd wpscan
REDACTED:~/wpscan$ sudo gem install bundler && bundle install --without test
[sudo] password for REDACTED:
Fetching: bundler-2.0.1.gem (100%)
Successfully installed bundler-2.0.1
Parsing documentation for bundler-2.0.1
Installing ri documentation for bundler-2.0.1
Done installing documentation for bundler after 12 seconds
1 gem installed
Fetching gem metadata from https://rubygems.org/...........
Fetching gem metadata from https://rubygems.org/..
Resolving dependencies...
Following files may not be writable, so sudo is needed:
Fetching rake 12.3.2

Your user account isn't allowed to install to the system RubyGems.
  You can cancel this installation and run:

      bundle install --path vendor/bundle

  to install the gems into ./vendor/bundle/, or you can enter your password
  and install the bundled gems to RubyGems using sudo.


Why isn't my user account allowed to install to the system RubyGems? If I use either of the alternative suggestions provided in the code, what difference would it make?

Please bear in mind that I'm completely new to Linux in any shape or form. The process I've just outlined is the sum total of my experience with Linux. 



Share this post

Link to post
Share on other sites
Posted (edited)

Try to run

bundle install --path vendor/bundle
Edited by M4sh1lo

Share this post

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

    No registered users viewing this page.

  • Create New...