SquidSec/CyberDeck

GitHub: SquidSec/CyberDeck

一个基于终端的渗透测试命令字典与操作手册,提供分类浏览、全文搜索和一键复制功能,帮助安全从业者快速查找和使用各类渗透命令。

Stars: 56 | Forks: 8

![BloodBash 详细输出示例](https://i.imgur.com/m5RVnJZ.png) # CyberDeck **CyberDeck** 是一个**基于终端的渗透测试命令字典与操作手册**,拥有受*《异形》*、*《银翼杀手》*和经典黑客电影启发的**科幻 CRT 美学**。它使用 `curses` 库以 Python 编写,为浏览、搜索和复制准备执行的命令提供了一个身临其境的复古未来主义界面。 无论你是在参与红队行动、CTF,还是仅仅需要快速访问常用工具,CyberDeck 都能让你的工作流保持快速、有序且*视觉震撼*。 ## 功能特性 | 功能 | 描述 | |-------|-----------| | **科幻主题 UI** | 带有打字机动画的启动/关闭序列、CRT 风格文本以及 Weyland-Yutani 品牌标识。 | | **动态命令数据库** | 从远程 `commands.json` 拉取命令,并在启动时自动更新(可配置)。 | | **命令分类** | 按阶段组织:Recon(侦察)、Scanning(扫描)、Exploitation(漏洞利用)、Post-Exploitation(后渗透)、Reverse Shells(反弹 Shell)等。 | | **全文搜索** | 跨**命令**和**操作手册指南**的双面板搜索。 | | **剪贴板集成** | 按 `C` 立即复制任何命令(需要 `pyperclip`)。 | | **操作手册指南** | 逐步的多命令行动手册(例如:“通过 WMI 进行横向移动”)。 | | **相关命令** | 具备实时导航的上下文感知建议。 | | **自定义外观** | 从 8 种复古配色方案中进行选择:`toxic green`、`yellow`、`cyan` 等。 | | **动画切换** | 可禁用启动/打字机效果以提升速度。 | | **跨平台标签** | 命令标记为:`Windows`、`Linux` 或 `Win/Lin`。 | | **备用 CLI 模式** | 如果 `curses` 失败(例如:未使用 WSL 的 Windows),可用作**换行符转换器**。 | | **错误日志记录** | 所有问题均记录到 `~/.cyberdeck/error.log` 中。 | ## 截图 ![分类菜单](https://i.imgur.com/8YNGYKD.png) ![分类菜单](https://i.imgur.com/gfCzgfs.png) ![分类菜单](https://i.imgur.com/tzEbcmk.png) ![分类菜单](https://i.imgur.com/kj1IoQU.png) ![分类菜单](https://i.imgur.com/pBM6LDY.png) ![分类菜单](https://i.imgur.com/WfQWeAI.png) ![分类菜单](https://i.imgur.com/LD8FTz6.png) ![分类菜单](https://i.imgur.com/DH5PMjM.png) ![分类菜单](https://i.imgur.com/HbImOcc.png) ## 安装说明 ### 1. 克隆仓库 ``` git clone https://github.com/DotNetRussell/CyberDeck.git cd CyberDeck ``` ### 2. 安装依赖(推荐) ``` pip install pyperclip requests ``` ### 3. 运行 CyberDeck ``` python3 cyberdeck.py ``` ## 使用说明 ### 交互模式 (`curses`) | 操作 | 按键 | |------|------| | 导航 | `↑` `↓` | | 选择 | `Enter` | | 返回 | `Esc` | | 复制命令 | `C` | | 搜索 | `Search` → 输入查询内容 | | 切换面板(搜索) | `←` `→` | #### 菜单选项 - **Commands** → 按类别浏览 → 查看详情 - **Search** → 即时查找命令/指南 - **Cookbook** → 运行多步骤行动手册 - **Settings** → 更改颜色、切换动画、强制更新 - **Shutdown** → 风格化退出 ### 备用 CLI 模式(无 `curses`) 转换换行符: ``` python3 cyberdeck.py input.txt output.txt -f unix ``` 选项: - `-f unix` → `\n` (LF) - `-f windows` → `\r\n` (CRLF) - `-f mac` → `\r` (CR) ## 数据与更新 - **Commands**:存储在 `~/.cyberdeck/commands.json` - **Recipes**:存储在 `~/.cyberdeck/recipes/*.json` - **自动更新**:默认在启动时启用 - **强制更新**:在 Settings 中按 `F` ## 操作手册指南 在 `~/.cyberdeck/recipes/` 中创建你自己的指南: ``` { "name": "Attack Path Visualization with BloodHound", "description": "Load collected data into BloodHound to reveal privilege escalation routes.", "tools": [ { "name": "BloodHound", "description": "AD relationship graphing tool", "url": "https://github.com/BloodHoundAD/BloodHound" } ], "steps": [ { "index": 1, "name": "Start Services", "command": "neo4j start; bloodhound", "description": "Launch database and GUI." }, { "index": 2, "name": "Import Dataset", "command": "Drag domain_data.zip into BloodHound interface", "description": "Load harvested JSON files." }, { "index": 3, "name": "Pathfinding Queries", "command": "Run: Shortest Paths from Owned to Domain Admins", "description": "Identify viable attack chains." } ] } ``` ## 最新发布 [下载最新版本](https://github.com/DotNetRussell/CyberDeck/releases/latest) ## 许可证 [MIT License](LICENSE) – 自由使用、修改和分发. **使用** `Python` **构建** **·** **由** [@DotNetRussell](https://x.com/DotNetRussell) **维护**
标签:CLI界面, Homebrew安装, Python, XXE攻击, 插件系统, 无后门, 词典/手册, 逆向工具