AdhiHub/cyber-ai-agent

GitHub: AdhiHub/cyber-ai-agent

CYBER-OMNI 是一个100%离线、基于本地 LLM 的终端 AI 渗透测试助手,支持端口扫描、侦察、OSINT 和报告生成,可在 Android、Windows 和 Linux 上运行。

Stars: 0 | Forks: 0

``` ╔══════════════════════════════════════╗ ║ CYBER-OMNI v2.0 ║ ║ Terminal AI Pentesting Agent ║ ╚══════════════════════════════════════╝ ``` # CYBER-OMNI v2 ### 🤖 用于渗透测试的真实 AI 终端助手 — 100% 本地运行 [![Python](https://img.shields.io/badge/Python-3.8%2B-blue?logo=python)](https://python.org) [![Termux](https://img.shields.io/badge/Termux-✔-brightgreen?logo=terminal)](https://termux.com) [![Windows](https://img.shields.io/badge/Windows-✔-blue?logo=windows) [![Linux](https://img.shields.io/badge/Linux-✔-orange?logo=linux) [![Model](https://img.shields.io/badge/Model-Llama%203.2%201B-important)](https://ollama.com) [![Offline](https://img.shields.io/badge/Offline-✅-success)]() **真正的 LLM 驱动的 AI(非脚本)— 运行在您的手机或 PC 上,无需任何云端 API**
## ⚡ 一行代码安装 ### Termux / Linux / macOS ``` git clone https://github.com/AdhiHub/cyber-ai-agent.git && cd cyber-ai-agent && pip install llama-cpp-python httpx requests && python omni.py ``` ### Windows (PowerShell) ``` git clone https://github.com/AdhiHub/cyber-ai-agent.git; cd cyber-ai-agent; pip install llama-cpp-python httpx requests; python omni.py ``` ### 通过 curl (自动安装程序) ``` bash <(curl -sSL https://raw.githubusercontent.com/AdhiHub/cyber-ai-agent/main/install.sh) ``` ## 🎮 工作原理 ``` ┌──────────────────────────────────────────────────┐ │ $ python omni.py │ │ │ │ ╔══════════════════════════════════════╗ │ │ ║ CYBER-OMNI v2.0 ║ │ │ ╚══════════════════════════════════════╝ │ │ │ │ Welcome to CYBER-OMNI — Terminal AI Assistant │ │ Model: Llama 3.2 1B | 100% offline │ │ │ │ omn> hi │ │ Hello! I'm your pentesting AI. How can I help? │ │ │ │ omn> create a python reverse shell │ │ Here's a Python reverse shell for testing... │ │ │ │ omn> /scan 192.168.1.1 │ │ [Scanning...] │ │ │ │ omn> explain SQL injection │ │ SQL injection is a web vulnerability where... │ │ │ │ omn> /exit │ └──────────────────────────────────────────────────┘ ``` **真正的 AI 对话。** 不是脚本。不是知识库。是运行在您设备上的真实语言模型。 ## 🧠 与众不同之处 | 功能 | v1 (旧版) | v2 (全新) | |---------|----------|----------| | AI 类型 | 基于关键词的回复 | **真正的 LLM** (Llama 3.2 1B) | | 理解 "hi" | ❌ 否 | ✅ 是 | | 编写脚本 | ❌ 否 | ✅ 是 | | 自然对话 | ❌ 否 | ✅ 是 | | 遵循复杂指令 | ❌ 否 | ✅ 是 | | 流式响应 | ❌ 否 | ✅ 逐 Token 输出 | | 模型大小 | — | **~700MB** | | 离线工作 | ✅ | ✅ | ## 🛠️ 命令 | 命令 | 动作 | |---------|--------| | `python omni.py` | 🧠 **交互式 AI 聊天** — 像 ChatGPT 一样交流 | | `python omni.py scan ` | 🔍 端口扫描 | | `python omni.py recon ` | 🕵️ 侦察 | | `python omni.py osint ` | 🌐 OSINT | | `python omni.py exploit ` | 💥 Exploit 建议 | | `python omni.py report` | 📄 报告生成器 | | `python omni.py -q "question"` | ⚡ 快速提问(单次) | | `python omni.py --download` | 📥 列出可用模型 | | `python omni.py --download llama-3.2-3b-q4` | 📥 下载特定模型 | ### 聊天内命令 | 命令 | 动作 | |---------|--------| | `/scan ` | 端口扫描 | | `/recon ` | 侦察 | | `/osint ` | OSINT | | `/exploit ` | Exploit 建议 | | `/report` | 生成报告 | | `/clear` | 清空屏幕 | | `/help` | 显示帮助 | | `/model` | 显示当前模型 | | `/exit` | 退出 | ## 📦 模型 | 模型 | 大小 | 质量 | |-------|------|---------| | **Llama 3.2 1B Q3** (默认) | ~700 MB | 尚可 — 可在任何地方运行 | | **Llama 3.2 3B Q4** | ~2 GB | 良好 — 最佳平衡 | | **Qwen 2.5 7B Q4** | ~4.5 GB | 优秀 — 接近 ChatGPT | 首次运行时自动下载。由您选择。 ## 📱 Termux (Android) ``` pkg update && pkg upgrade pkg install python python-pip git cmake git clone https://github.com/AdhiHub/cyber-ai-agent.git cd cyber-ai-agent pip install llama-cpp-python httpx requests python omni.py ``` 适用于任何 Android 手机。首次运行时会下载约 700MB 的模型。 ## 🛡️ 法律免责声明
**用 ⚡ 为网络安全社区打造** [GitHub](https://github.com/AdhiHub/cyber-ai-agent) · [报告 Bug](https://github.com/AdhiHub/cyber-ai-agent/issues)
标签:AI风险缓解, DLL 劫持, 人工智能, 大语言模型, 本地部署, 用户模式Hook绕过, 运行时操纵, 逆向工具