willygailo/CVE-2026-41940-Linux
GitHub: willygailo/CVE-2026-41940-Linux
一款基于 PyQt5 的 Linux 图形化漏洞利用工具,针对 WHM/cPanel 服务器进行授权渗透测试。
Stars: 2 | Forks: 0
# CVE-2026-41940 — WHM/cPanel 漏洞利用工具 (Linux)
## 📌 描述
**CVE-2026-41940** 是一款针对运行在端口 `2087` 上的 **WHM (WebHost Manager) / cPanel** 服务器漏洞的利用工具。该工具具有使用 **PyQt5** 构建的图形用户界面 (GUI),专为 **Linux** 系统设计。
- **目标:** WHM / cPanel 服务器
- **端口:** 2087
- **界面:** GUI (PyQt5)
- **语言:** Python 3
- **作者:** FriendsExploit
## 📁 项目结构
```
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 |
## 🛠️ 安装与设置
### 1. 克隆或下载项目
```
git clone https://github.com/willygailo/CVE-2026-41940-Linux.git
```
### 2. 安装依赖项
```
pip3 install -r requirements.txt
```
```
pip3 install --break-system-packages -r requirements.txt
```
```
sudo apt install python3-pyqt5 -y
```
## 🚀 用法
### 运行工具
```
python3 CVE-2026-41940.py
```
### 忽略警告(可选)
```
python3 CVE-2026-41940.py 2>/dev/null
```
### 在 Wayland 上运行(可选)
```
QT_QPA_PLATFORM=wayland python3 CVE-2026-41940.py
```
## 🔍 用于目标发现的 Dork
使用 `Dork.txt` 中的 dork 通过 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`
标签:CISA项目, cPanel, PyQt5, Python, 威胁模拟, 实时处理, 无后门