Perfectly solve the problem of wpscan update failure

The wpscan that comes with kali-linux will fail to update when it is used for the first time (has been stopped at the following interface)
Insert picture description here

It can be solved perfectly through the following steps

The update failed because the website cannot be accessed and the file cannot be downloaded. We can download the file locally and use the local web service to update.

Download wpscan update file

wget http://blog.dsb.ink/wpscan/wp.zip

Unzip the update file

unzip wp.zip

Move to the html folder

mv wpscan /var/www/html/

Find the update configuration file of wpscan

dpkg -L wpscan | grep updater

Modify the file (the file name may be different afterwards)

vim /usr/share/rubygems-integration/all/gems/wpscan-3.7.5/lib/wpscan/db/updater.rb

Transpose the original URL to the local (line 81)

http://127.0.0.1/wpscan/

Insert picture description here
Open the local apache service (this step is very important)

service apache2 start

Update again

wpscan --update

bingo!

completed!

Insert picture description here

Guess you like

Origin blog.csdn.net/qq_25504829/article/details/104845161