0x00 什么是Wpscan
該掃描器可以實現獲取Wordpress
站點用戶名,獲取安裝的所有插件、主題,以及存在漏洞的插件、主題,並提供漏洞信息。同時還可以實現對未加防護的Wordpress
站點暴力破解用戶名密碼。
0x01 使用參數
Kali自帶,使用命令:wpscan --update
可更新漏洞庫
常用參數選項:
--update 更新到最新版本
--url | -u <target url> 要掃描的`WordPress`站點.
--force | -f 不檢查網站運行的是不是`WordPress`
--enumerate | -e [option(s)] 枚舉
0x02 工具利用
1、掃描WordPress漏洞
wpscan --url http://www.xxxxx.top/
2、掃描wordpress用戶
wpscan --url http://www.xxxxx.top/ --enumerate u
3、掃描主題
wpscan --url http://www.xxxxx.top/ --enumerate t
掃描主題中的漏洞
wpscan --url http://www.xxxxx.top/ --enumerate vt
4、掃描插件漏洞
wpscan --url http://www.xxxxx.top/ --enumerate p
掃描插件中的漏洞
wpscan --url http://www.xxxxx.top/ --enumerate vp
5、使用WPScan進行暴力破解
在進行暴力破解攻擊之前,我們需要創建對應的字典文件。輸入下列命令:
wpscan --url https://www.xxxxx.top/ -e u --wordlist /root/桌面/password.txt
0x03 參考
https://www.freebuf.com/sectool/174663.html