Decrease Font Size
Increase Font Size
   BLOG

wpscan.rb LoadError

Recently, I installed the Kali Linux using the Virtual Images. I ran the WpScan application and run into the error ruby: No such file or directory -- ./wpscan.rb (LoadError)


Step to replicate:

1. Download the VM image from https://www.offensive-security.com/kali-linux-vmware-virtualbox-image-download/

2. In the VM open the WpScan application

3. in the terminal, type in ruby ./wpscan.rb --url www.example.com, enter

4. error: ruby: No such file or directory -- ./wpscan.rb (LoadError)


Solution:

On the terminal, enter the following command to download wpscan from the repository

   1. git clone https://github.com/wpscanteam/wpscan.git

Note that this command will download the wpscan folder to the current directory. In my scenario, the new command look like

   2. ruby ./wpscan/wpscan.rb --url www.example.com