1N3/Sn1per

WPScan Plugin Not Working

asf-framework-bmg opened this issue · 4 comments

Although the WPscan API key is configured in /root/.sniper_api_keys.conf & option is set to 1 in /root/.sniper.conf.

When running the web scan with command " sniper -t website.com -m web -w website.com", the scan get the error message in the scan "Scan Aborted: Update required, you can not run a scan if a database file is missing" but WPscan works fine on running the wpscan commands. Using latest version of kali

Hello,

Yes, same here.
I suggest the following steps:

Remove all wpscan package related:
sudo apt-get remove wpscan
sudo apt-get remove --auto-remove wpscan
sudo apt-get purge wpscan
sudo apt-get purge --auto-remove wpscan
gem uninstall wpscan

Install Requirements & Wpscan:
sudo apt install gnupg2
sudo apt-add-repository -y ppa:rael-gc/rvm
sudo apt-get install rvm -y
reboot (Mandatory reboot)
sudo usermod -a -G rvm "your_username"
rvm user gemsets
rvm install ruby
sudo gem install rails
rvm all do gem update --system (without sudo)
sudo apt install ruby-full -y
sudo apt-get install libcurl4-openssl-dev libxml2 libxml2-dev libxslt1-dev ruby-dev build-essential libgmp-dev zlib1g-dev -y
sudo gem install wpscan
gem update wpscan
git clone https://github.com/wpscanteam/wpscan
cd wpscan/
bundle install
rake install
sudo wpscan --update

Thats great that worked for me!

Thank you for your reply! It's greateful and Usefull your opinion!

1N3 commented

This will be fixed in the next public release of Sn1per. In the meantime, running wpscan --update should do the trick.