vektor-x-com/Shells-X

GitHub: vektor-x-com/Shells-X

一款模块化的单文件 PHP Web Shell 框架,通过 Python 生成器按需组装模块,集纯 PHP 侦察、SOCKS5 隧道转发和提权检查于一体,面向红队后渗透场景。

Stars: 2 | Forks: 0

# Shells-X [![License: MIT](https://img.shields.io/badge/License-MIT-green.svg)](LICENSE) [![Python 3.6+](https://img.shields.io/badge/Python-3.6%2B-blue.svg)](https://www.python.org/) [![PHP 5.6+](https://img.shields.io/badge/PHP-5.6%2B-777BB4.svg)](https://www.php.net/) [![零依赖](https://img.shields.io/badge/Dependencies-Zero-brightgreen.svg)](https://github.com/vektor-x-com/Shells-X) [![单文件部署](https://img.shields.io/badge/Deploy-Single%20File-orange.svg)](https://github.com/vektor-x-com/Shells-X) [![平台]( Build Info 中查看。使用 `--verify` 检查完整性。 ## 密码保护 ``` python generate.py --password "hunter2" ``` 嵌入 SHA256 hash —— 不存储明文。通过 `?logout` 登出。 ## 项目结构 ``` Webshells/ ├── generate.py # Build tool (Python 3, zero deps) ├── templates/php.tpl # Single-file PHP template ├── src/ │ ├── config/defaults.json # Module definitions │ ├── backend/php/ │ │ ├── _order.json # Assembly order │ │ ├── download.php # GET file download │ │ ├── filebrowser.php # Directory listing │ │ ├── fileops.php # Delete + upload │ │ ├── eval.php # PHP code execution │ │ ├── shell.php # OS command execution │ │ └── diagnostics.php # System recon + privesc checks │ └── frontend/ │ ├── css/shell.css # Dark theme │ ├── html/layout.html # Layout with module markers │ └── js/ # core, db, console, shell, tunnel, │ # diagnostics, history, filebrowser └── dist/ # Generated shells (gitignored) ``` ## 键盘快捷键 | 按键 | 上下文 | 动作 | |-----|---------|--------| | `Ctrl+Enter` | PHP Console | 执行代码 | | `Enter` | OS Shell | 执行命令 | | `Arrow Up/Down` | OS Shell | 浏览历史 | | `Ctrl+L` | OS Shell | 清除输出 | ## 要求 - **Generator:** Python 3.6+ (仅标准库) - **Runtime:** PHP 5.6+ (隧道需要 fsockopen) - **Browser:** 任何支持 IndexedDB 的现代浏览器 ## 许可证 MIT
标签:HTTP工具, OpenVAS, PHP, Python, SOCKS5代理, WebShell, 代码混淆, 内网穿透, 凭据窃取, 协议分析, 单文件部署, 后门, 命令执行, 插件系统, 数据包嗅探, 数据可视化, 数据泄露防护, 文件管理, 无后门, 无线安全, 权限提升, 流量转发, 系统信息收集, 网络安全, 网络安全审计, 网络探测, 自定义脚本, 逆向工具, 隐私保护