⚠️ 免责声明: 此工具仅适用于授权的渗透测试和教育目的。未经明确书面许可,使用此工具对系统进行攻击是非法的。开发者对任何滥用或造成的损害概不负责。
CVE-2026-41940 是一个针对运行在端口 2087 上的 WHM(WebHost Manager)/ cPanel 服务器漏洞的利用工具。该工具具有基于 PyQt5 构建的图形用户界面(GUI),专为 Linux 系统设计。
CVE-2026-41940-Linux/
├── CVE-2026-41940.py # Main entry point
├── requirements.txt # Python dependencies
├── Dork.txt # Google/Shodan dorks for target discovery
├── pyarmor_runtime_000000/ # PyArmor runtime (obfuscation layer)
└── system/
├── __init__.py # Module initializer
├── core.py # Core exploit logic
├── gui.py # GUI components
├── styles.py # UI styling
└── workers.py # Background worker threads
| 要求 | 版本 |
|---|---|
| 操作系统 | Linux(推荐 Kali) |
| Python | >= 3.x |
| PyQt5 | >= 5.15.0 |
| urllib3 | >= 1.26.0 |
git clone https://github.com/willygailo/CVE-2026-41940-Linux.git
pip3 install -r requirements.txt
如果你在 Kali Linux 上遇到“外部管理环境”错误:
pip3 install --break-system-packages -r requirements.txt
或者通过 apt 安装 PyQt5:
sudo apt install python3-pyqt5 -y
python3 CVE-2026-41940.py
python3 CVE-2026-41940.py 2>/dev/null
QT_QPA_PLATFORM=wayland python3 CVE-2026-41940.py
使用 Dork.txt 中的查询语句通过 Shodan 或 Google 寻找目标:
title:"WHM Login"
title:"WebHost Manager" port:2087
product:"cPanel" port:2087
这些警告可能出现在 Linux 上——它们是无害的并且不影响功能:
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
QSocketNotifier: Can only be used with threads started with QThread
此工具仅用于教育和授权的安全测试。
CVE-2026-41940 WHM cPanel exploit penetration-testing linux pyqt5 python3 FriendsExploit