用dpkg -L wpscan |grep update,找到wpscan的更新配置文件
修改配置文件中的更新地址
vim /usr/share/rubygems-integration/all/gems/wpscan-3.7.6/lib/wpscan/db/updater.rb
注释掉原来的跟新地址:# “https://data.wpscan.org/#{filename}”
修改为:“http://blog.dsb.ink/wpscan/#{filename}”
更新成功就可以使用了
第二个方法,离线更新(不推荐使用)
下载更新压缩包
wget http://blog.dsb.ink/wpscan/wp.zip
移到 /var/www/html/下面进行解压,开启本机的http服务。
mv wp.zip /var/www/html/
unzip wp.zip
/etc/init.d/apache2 start
将配置文件中的更新地址改为本机:
“http://127.0.0.1/wpscan/#{filename}”