工具项目
The outline of the project is loading
小迪安全知识库
-
+
home
CTF Agent自动化解题
CTF Agent自动化解题
# CTF-BTFLY: CTF agent 自动化解题工具 项目地址:https://github.com/huihuilikaile/CTF-BTFly [](https://github.com/huihuilikaile/CTF-BTFly#ctf-btfly-ctf-agent-%E8%87%AA%E5%8A%A8%E5%8C%96%E8%A7%A3%E9%A2%98%E5%B7%A5%E5%85%B7) Caution CTF-BTFly 只能用于明确授权的 CTF 题目、靶场和安全研究环境。 请勿使用本项目扫描、测试或攻击未授权目标,也不要把比赛附件、Flag、凭据或私有数据上传到第三方服务。 ## 项目简介 [](https://github.com/huihuilikaile/CTF-BTFly#%E9%A1%B9%E7%9B%AE%E7%AE%80%E4%BB%8B) CTF-BTFly 将 GUI 与高权限控制平面分离: * **Wails + React 桌面端**负责题目管理、状态展示、事件时间线、文件预览、Writeup 和模型用量; * **独立 Go daemon**负责 SQLite、Docker、任务状态机、模型凭据和 Agent 生命周期; * **每题一个 Docker 沙箱**,根据题型加载 Web、Crypto、Pwn、Reverse、Forensics 或 Misc 专项工具; * **Pi RPC Agent**在容器内自主分析附件、执行命令、编写脚本并生成中文 `WRITEUP.md`; * **本地模型网关**把题目级短期 Token 替换为真实上游 Key,真实密钥不会进入容器或前端。 ## 图文说明与更新记录 [](https://github.com/huihuilikaile/CTF-BTFly#%E5%9B%BE%E6%96%87%E8%AF%B4%E6%98%8E%E4%B8%8E%E6%9B%B4%E6%96%B0%E8%AE%B0%E5%BD%95) **使用时需要启动docker desktop,配置镜像文件(下文有教程),配置env文件(模型baseurl+key+id等信息),打开右上角显示绿色提示灯,模型连接正常,即可开始使用。** [](https://github.com/huihuilikaile/CTF-BTFly/blob/main/template/image-1.png) **docker镜像可以一键导入(2.0新增)** [](https://github.com/huihuilikaile/CTF-BTFly/blob/main/template/12.png) **拖动题目附件到对应的区域会启动创建题目窗口** [](https://github.com/huihuilikaile/CTF-BTFly/blob/main/template/image-2.png) **填入题目信息,选择已经配置的模型,web/pwn/...配置远程地址,flag格式默认是flag{...}** [](https://github.com/huihuilikaile/CTF-BTFly/blob/main/template/image-3.png) **2.0版本新增多模型协同模式 针对ctf难题可以选择此模式** [](https://github.com/huihuilikaile/CTF-BTFly/blob/main/template/11.png) **题目创建好启动agent即可** [](https://github.com/huihuilikaile/CTF-BTFly/blob/main/template/image-4.png) **提示词 可以在这里暂停增加新的提示** [](https://github.com/huihuilikaile/CTF-BTFly/blob/main/template/image-5.png) **解题过程 显示ai执行的一系列操作和思考过程 右上角可以暂停和中止 显示解题时间** [](https://github.com/huihuilikaile/CTF-BTFly/blob/main/template/image-6.png) **终端和文件会显示工具执行的信息,产生的文件,文件允许下载** [](https://github.com/huihuilikaile/CTF-BTFly/blob/main/template/image-7.png) **wp 解题成功后会自动编写wp 允许下载** [](https://github.com/huihuilikaile/CTF-BTFly/blob/main/template/image-9.png) **题目卡片可以删除题目 可以选择是否保存wp** [](https://github.com/huihuilikaile/CTF-BTFly/blob/main/template/image-10.png) **允许自定义主题配色(2.0新增)** [](https://github.com/huihuilikaile/CTF-BTFly/blob/main/template/13.png)
xiaodi
Aug. 5, 2026, 2:59 p.m.
28
0 comment
Forward
Favorites
Last
Next
Scan the QR Code
Copy link
Scan the QR code to share.
Copy link
share
link
type
password
Update password
Validity period
Markdown file
Word document
PDF document
PDF document (print)