高性能 Go 实现,用于检测 React Server Components RCE 漏洞(CVE-2025-55182 和 CVE-2025-66478)。
go install github.com/h0tak88r/next88@latest
git clone https://github.com/h0tak88r/next88.git
cd next88
go build -o next88 .
# 扫描单个主机
next88 -u https://example.com
# 从文件扫描
next88 -l hosts.txt
# 自定义线程数
next88 -l hosts.txt -t 50
# 安全检查(侧信道检测)
next88 -u https://example.com -safe-check
# WAF 绕过,自定义大小
next88 -u https://example.com -waf-bypass -waf-bypass-size 256
# Vercel WAF 绕过
next88 -u https://example.com -vercel-waf-bypass
# 双重 URL 编码绕过
next88 -u https://example.com -double-encode
# 分号绕过
next88 -u https://example.com -semicolon-bypass
# 源代码暴露检查
next88 -u https://example.com -check-source-exposure
# DoS 测试(发送多个请求)
next88 -u https://example.com --dos-test --dos-requests 200
# 自定义路径
next88 -u https://example.com -path /_next -path /api
# 路径文件
next88 -u https://example.com -path-file paths.txt
# Windows 负载
next88 -u https://example.com -windows
# 输出到 JSON
next88 -l hosts.txt -o results.json -all-results
# 带 Discord Webhook 通知(实时告警)
next88 -l hosts.txt --discord-webhook https://discord.com/api/webhooks/...
-u, --url <url> 要检查的单个 URL/主机
-l, --list <file> 包含主机列表的文件(每行一个)
-t, --threads <num> 并发线程数(默认:10)
--timeout <seconds> 请求超时时间(秒)(默认:10)
-o, --output <file> 结果输出文件(JSON 格式)
--all-results 将所有结果保存到输出文件,而不仅仅是存在漏洞的主机
-k, --insecure 禁用 SSL 证书验证(默认:true)
-v, --verbose 详细输出(显示所有主机的响应片段)
-q, --quiet 静默模式(仅显示存在漏洞的主机)
--no-color 禁用彩色输出
--safe-check 使用安全侧信道检测而非 RCE PoC
--windows 使用 Windows PowerShell 负载而非 Unix shell
--waf-bypass 添加垃圾数据以绕过 WAF 内容检查(默认:128KB)
--waf-bypass-size <KB> 用于 WAF 绕过的垃圾数据大小(KB)(默认:128)
--vercel-waf-bypass 使用 Vercel WAF 绕过负载变体
--path <path> 要测试的自定义路径(可多次使用)
--path-file <file> 包含要测试路径列表的文件(每行一个)
--check-source-exposure 通过从 HTML 中提取 ACTION_ID 来检查源代码暴露
--double-encode 应用双重 URL 编码以绕过 WAF
--semicolon-bypass 在策略位置添加分号以绕过 WAF
--discord-webhook <url> 用于实时漏洞通知的 Discord Webhook URL
--dos-test 通过发送多个请求测试拒绝服务
--dos-requests <num> 用于 DoS 测试的请求数(默认:100)
JSON 输出结构:
{
"scan_time": "2025-12-13T03:35:53Z",
"total_results": 1,
"results": [
{
"host": "https://example.com",
"vulnerable": true,
"status_code": 303,
"final_url": "https://example.com/",
"tested_url": "https://example.com/",
"timestamp": "2025-12-13T03:35:51Z"
}
]
}
该工具已集成到 AutoAR 项目中,可通过以下方式使用:
# 通过 AutoAR 主脚本
./main.sh react2shell_scan run -d example.com
# 通过 Discord 机器人
/react2shell_scan domain:example.com
该工具会自动构建并安装到 AutoAR Docker 镜像中:
RUN go install github.com/h0tak88r/next88@latest
基于 Assetnote 安全研究团队的研究成果。
详见 LICENSE 文件。