用于 React Server Components (RSC) 漏洞的启发式扫描器 —— 包括 React2Shell 类行为 (CVE-2025-55182)
react2shell_detector.py 是一个安全、非侵入式的安全扫描器,旨在检测可能暴露于 React Server Components (RSC) 反序列化漏洞的系统 —— 包括影响 React 19 及某些 Next.js 服务器配置的 React2Shell 类问题。
该工具不执行利用,而是依赖多信号启发式引擎:
适用于:
本扫描器仅执行良性的 RSC 探测。
请仅在您拥有或明确授权测试的系统上使用。
未经授权的扫描可能违反法律或组织政策。
.txt 文件中读取批量目标low → very_high)克隆仓库:
git clone https://github.com/<yourname>/react2shell-detector.git
cd react2shell-detector
---
## 使用方法
python react2shell_detector.py -u https://example.com
或
python react2shell_detector.py -f targets.txt
或
python react2shell_detector.py -f targets.txt -t 20