这是一个针对 CVE-2025-29306 的 Python 漏洞利用工具,该漏洞是 FoxCMS 中的一个远程代码执行漏洞。此工具支持测试单个目标或批量扫描多个主机。
git clone https://github.com/mattb709/CVE-2025-29306-PoC-FoxCMS-RCE
.git
cd CVE-2025-29306-PoC-FoxCMS-RCE
pip install -r requirements.txt
requestsbeautifulsoup4argparse使用以下命令安装依赖:
pip install requests beautifulsoup4
usage: foxcms_rce.py [-h] -c COMMAND (-t TARGET | -f TARGETS_FILE)
CVE-2025-29306 Exploit Checker
options:
-h, --help show this help message and exit
-c COMMAND, --command COMMAND
Command to execute on vulnerable hosts
-t TARGET, --target TARGET
Single target in the format ip:port
-f TARGETS_FILE, --targets-file TARGETS_FILE
File containing multiple targets, one per line, in the format ip:port
python CVE-2025-29306-PoC -t 192.168.1.100:8080 -c "whoami"
python CVE-2025-29306-PoC -f targets.txt -c "whoami"
python CVE-2025-29306-PoC -f targets.txt -c "whoami" > results.txt
目标文件每行应包含一个目标,格式为:
ip:port
示例:
192.168.1.100:80
10.10.10.5:443
172.16.32.15:8080
该脚本提供:
foxcms_rce_results.txt
此工具仅用于教育和授权测试目的。作者不对因使用本程序而造成的任何滥用或损害负责。
MIT 许可证 - 详细信息请参阅 LICENSE 文件