1N3 / Sn1per

Attack Surface Management Platform
https://sn1persecurity.com
Other
7.9k stars 1.82k forks source link

WPScan Plugin Not Working #354

Closed asf-framework-bmg closed 3 years ago

asf-framework-bmg commented 3 years ago

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

blackstone250 commented 3 years ago

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

asf-framework-bmg commented 3 years ago

Thats great that worked for me!

blackstone250 commented 3 years ago

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

1N3 commented 3 years ago

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