MarkW68 Posted June 4, 2019 Share Posted June 4, 2019 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: /usr/local/bin /var/lib/gems/2.5.0 /var/lib/gems/2.5.0/build_info /var/lib/gems/2.5.0/cache /var/lib/gems/2.5.0/doc /var/lib/gems/2.5.0/extensions /var/lib/gems/2.5.0/gems /var/lib/gems/2.5.0/specifications 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. Password: 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. Cheers Mark Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.