此脚本利用 WordPress 中的 CVE-2023-5561 漏洞,通过 /wp-json/wp/v2/users API 端点枚举并泄露用户邮箱地址。
requests 库安装所需库:
pip install requests
https://target.com)。python CVE-2023-5561.py <目标站点根 URL>
示例:
python CVE-2023-5561.py https://target.com
脚本将列出发现的用户,并尝试暴力破解和显示每个用户的完整邮箱地址(如果可能)。