剑庭安
首页
黑客安全首页全部安全栏目 黑客技术黑客技术、渗透测试、漏洞利用工具与教程 安全软件安全工具、扫描器、检测与审计软件 病毒分析恶意软件分析、样本、逆向与沙箱 CTF思路CTF 题目、writeup、解题思路与工具 防护思路防御技术、加固、检测响应与蓝队 红蓝攻防红队攻击模拟、蓝队对抗、攻防演练 漏洞知识库漏洞、CVE、PoC、EXP 与安全研究
逆向|反编译
PHP源码PHP 网站源码、程序、系统 APP源码安卓/iOS APP 源码 ASP源码ASP 网站源码与程序 NET源码.NET 网站源码与系统 小程序源码微信/支付宝小程序源码 Dedecms风格模板Dedecms 织梦风格模板 Empirecms风格模板EmpireCMS 帝国风格模板 Discuz商业模板/插件Discuz 商业模板与插件 WordPress主题/插件WordPress 主题与插件 其它源码、模板其它各类源码与模板 游戏源码游戏源码与引擎项目 加密货币源码加密货币、区块链、钱包、USDT/比特币相关源码与工具 手游源码手机游戏源码、服务端、客户端与引擎项目 传奇源码热血传奇、传奇世界、复古传奇等客户端/服务端/引擎源码 页游源码网页游戏、H5 游戏、浏览器游戏源码 端游源码电脑单机游戏、PC 网游客户端/服务端源码
最新万能免驱动支持所有型号打印机下载程序 日历天气老黄历 · 每天同步真实日期与天气
站长工具站长工具 自助开通会员浏览该分类 其他资源qtziy SEO工具SEO工具 站群源码站群源码 泛程序泛程序 蜘蛛模板蜘蛛模板 蜘蛛池蜘蛛池 外链工具外链工具
搜索 自助开通会员🔓 破甲 API
登录 注册
首页 分类列表 黑客技术 PentestGPT - 自动渗透测试代理框架Po
黑客技术
作者:admin 发布:2026-10-05

PentestGPT - 自动渗透测试代理框架Po

项目说明<!-- Impro of back to top link: See: --><a name="readme-top"></a><!-- PROJECT SHIELDS -->[![Contributors][contri…
资源可下载 免费下载 0 条讨论
会员资源
开通会员后即可下载全部资源。
登录后开通会员
会员方案
321浏览量
0讨论
2下载链接
可下载资源状态
内容可验证
更新 2026-10-05
人工审核发布
评论区答疑

项目说明

<!-- Impro of back to top link: See: -->
<a name="readme-top"></a>

<!-- PROJECT SHIELDS -->
[![Contributors][contributors-shield]][contributors-url]
[![Forks][forks-shield]][forks-url]
[![Stargazers][stars-shield]][stars-url]
[![Issues][issues-shield]][issues-url]
[![MIT License][license-shield]][license-url]
[![Discord][discord-shield]][discord-url]

<!-- PROJECT LOGO -->
<br />
<di="center">

<h3 align="center">PentestGPT</h3>

<p align="center">
AI-Powered Autonomous Penetration Testing Agent
<br />
<strong>Published at USENIX Security 2024</strong>
<br />
<br />
<a href=" Website: pentestgpt.com »</strong></a>
<br />
<br />
<a href=" Paper</a>
·
<a href=" Bug</a>
·
<a href=" Feature</a>
</p>
</div>

<!-- ABOUT THE PROJECT -->
<a href=" target="_blank"><img src=" alt="GreyDGL%2FPentestGPT | Trendshift" style="width: 250px; height: 55px;" width="250" height="55"/></a>

---

Demo

Installation


![Installation Demo]()

Watch on YouTube

PentestGPT in Action


![PentestGPT Demo]()

Watch on YouTube

---

What's New in v1.0 (Agentic Upgrade)

  • Multi-Stage Pipeline - The agent works through staged phases (recon → exploit → walkthrough for CTF; asset discovery → identification → report for pentests), feeding each stage's findings into the next.

  • Autonomous Agent - Dri 代码 or Codex to run tools and reason without human inter.

  • Session Persistence - Save and resume penetration testing sessions.
  • > The autonomous CTF pipeline is backend-pluggable for Claude 代码 and Codex. The interactive
    > modernized legacy mode (pentestgpt-legacy) supports a wider provider set: OpenAI, Anthropic,
    > Google Gemini, DeepSeek, xAI, Qwen, Moonshot, and local Ollama. See
    > Interacti Mode.

    ---

    Features

  • AI-Powered Challenge Solver - Le LLM ad reasoning to perform penetration testing and CTFs

  • Li - Tracks steps in real-time as the agent works through challenges

  • Multi-Category Support - Web, Crypto, Re, Forensics, PWN, Pri Escalation

  • Real-Time Feedback - Watch the AI work with li updates

  • Extensible Architecture - Clean, modular design ready for future enhancements
  • ---

    Quick Start

    Prerequisites

  • Python 3.12+

  • uv - Python package manager

  • Claude Code CLI (claude) - installed and authenticated for local Claude runs. See Claude 代码 docs

  • Codex CLI (codex) - installed and authenticated for local Codex runs. The Docker flow below bundles both CLIs.
  • Installation

    Commands Reference

    | Command | Description |
    |---------|-------------|
    | make install | Install dependencies |
    | make test | Run all tests |
    | make check | Run lint + typecheck |
    | make build | Build distributable package |

    ---

    Usage

    The agent works through a multi-stage pipeline, feeding each stage's findings into the next — recon → exploit → walkthrough for CTF, asset discovery → identification → report for pentest.

    Run in Docker (install once, log in once)

    A self-contained image bundles the 工具 + the Claude 代码 and Codex CLIs. You log in once and
    the sessions persist in named — no re-login on later runs.

    make docker-login logs in Claude (setup-token → token stored in the ) and Codex (its
    own in-container codex login, OAuth callback forwarded — *not* seeded, since ChatGPT refresh
    tokens are single-use). It is idempotent: re-running skips whatever is still valid. Logins persist across
    container recreation; make docker-down keeps them, make docker-nuke removes the login (to
    force a fresh login / rotate a token). Design + details: docs/docker-de.md.

    ---

    Interacti Mode (modernized legacy)

    The classic, human-in-the-loop PentestGPT from the USENIX 2024 paper is preserved and
    modernized as pentestgpt-legacy. It runs three cooperating LLM sessions —
    reasoning / generation / parsing — that maintain a Pentesting Task Tree (PTT) while you
    drive the session interactively (next, more, todo, discuss). The autonomous fixed-stage
    pipeline supports Claude and Codex backends; this legacy mode talks natively to many pro
    official SDKs.

    Configure pro

    Set an API key for any provider you want to use (in your en or .env — see
    .en). Only the pro you configure are enabled.

    Run

    Supported models (web- June 2026)

    pentestgpt-legacy --list-models always renders the li. Re-run --smoke-test
    after model IDs change. Current snapshot:

    | Provider | Current models | Legacy (kept) | Env key |
    |----------|----------------|---------------|---------|
    | OpenAI | gpt-5.5, gpt-5.5-pro, gpt-5.4-mini, gpt-5.4-nano, gpt-5.2, gpt-5.3-codex | gpt-4o, gpt-4o-mini, o3, o4-mini | OPENAI_API_KEY |
    | Anthropic | claude-opus-4-8, claude-sonnet-4-6, claude-haiku-4-5-20251001 | — | ANTHROPIC_API_KEY |
    | Google Gemini | gemini-3.1-pro, gemini-3.5-flash, gemini-3-pro, gemini-3.1-flash-lite | gemini-2.5-pro, gemini-2.5-flash | GEMINI_API_KEY / GOOGLE_API_KEY |
    | DeepSeek | deepseek-, deepseek- | deepseek-chat, deepseek-reasoner | DEEPSEEK_API_KEY |
    | xAI Grok | grok-4.3 | — | GROK_API_KEY / XAI_API_KEY |
    | Alibaba Qwen | qwen3.7-max, qwen3.5-flash | qwen3-max | QWEN_API_KEY / DASHSCOPE_API_KEY |
    | Moonshot Kimi | kimi-k2.6 | — | KIMI_API_KEY (.cn default; set MOONSHOT_BASE_URL for .ai) |
    | Local (Ollama) | ollama:<model> (e.g. ollama:qwen3) | — | none (OLLAMA_BASE_URL) |

    > The registry lives in pentestgpt_legacy/llm/registry.py (the single source of truth).
    > Adding a model is one ModelSpec entry; OpenAI-compatible pro reuse one connector.

    ---

    Telemetry

    PentestGPT collects anonymous usage data to help improve the 工具. This data is sent to our Langfuse project and includes:

  • Session metadata (target type, duration, completion status)

  • 工具 execution patterns (which tools are used, not the actual commands)

  • Flag detection events (that a flag was found, not the flag content)
  • No sensitive data is collected - command outputs, credentials, or actual flag are ne.

    Opting Out

    ---

    Benchmark history

    PentestGPT achieved an 86.5% success rate (90/104 benchmarks) on an XBOW
    experiment in December 2025. That number is a historical research result, not a current
    pentestgpt-agent regression guarantee.

    XBOW harnesses and result archives are maintained outside this product repository as reference-only
    research artifacts. The supported PentestGPT CLI, Makefile, CI, and Docker runtime do not expose an
    XBOW runner. A future e may reuse that corpus through a separately owned adapter without
    making it a product dependency.

    ---

    Citation

    If you use PentestGPT in your research, please cite our paper:

    ---

    License

    Distributed under the MIT License. See LICENSE.md for more information.

    Disclaimer: This 工具 is for educational purposes and authorized security testing only. The authors do not condone any illegal use. Use at your own risk.

    ---

    Acknowledgments

  • Research supported by Quantstamp and NTU Singapore
  • <p align="right">(<a href="#readme-top">back to top</a>)</p>

    <!-- MARKDOWN LINKS & IMAGES -->
    [contributors-shield]:
    [contributors-url]:
    [forks-shield]:
    [forks-url]:
    [stars-shield]:
    [stars-url]:
    [issues-shield]:
    [issues-url]:
    [license-shield]:
    [license-url]:
    [linkedin-shield]:
    [linkedin-url]:
    [linkedin-url2]:
    [discord-shield]:
    [discord-url]:

    项目信息

    开发语言:Python

    Star 数:15743

    技术要点

    该项目属于黑客技术方向的开源资源,代码结构清晰,适合安全研究人员学习参考。项目围绕Automated Penetration Testing Agentic 框架 Powered by Large Language Models展开,提供了可运行的实现,对理解相关安全机制、工具原理与攻防技术具有较高的研究价值。

    从技术实现角度看,此类项目的核心在于对底层原理的深入理解与工程化落地。开发者在研究过程中可以结合官方文档与社区讨论,梳理项目的初始化流程、核心模块职责与数据流转,逐步掌握其中的技术细节与设计思路。

    使用与学习建议

    1. 下载源码压缩包,解压到本地环境。

    2. 根据项目类型准备对应的运行环境与依赖。

    3. 按照 README 中的步骤完成配置与部署。

    4. 在隔离的测试环境中运行验证,避免影响生产系统。

    免责声明

    本资源来源于开源社区,仅供安全研究、技术学习与合法授权范围内的攻防演练使用,请勿用于任何非法或侵害他人权益的用途。使用本项目产生的一切后果由使用者自行承担。

    资源标题PentestGPT - 自动渗透测试代理框架Po
    所属分类黑客技术
    发布作者admin
    发布时间2026-10-05 22:01:43
    下载权限 免费下载
    附件数量2 个下载链接
    浏览次数321
    讨论数量0
    主题状态正常讨论中

    本资源免费,登录后即可在本页「下载链接」区域获取全部附件。

    请在评论区留言说明具体链接,或联系作者补档。楼主更新后本页会同步最新的下载地址。

    请先阅读正文中的授权说明;未注明的默认仅限站内学习交流,禁止直接搬运到其他站点二次售卖。
    还没有讨论,快来抢沙发~
    登录 后才能参与讨论
    下载链接
    会员才能下载
    登录后开通会员
    同分类推荐
    暂无同类资源
    免费登录即可下载
    查看会员
    放大预览

    © 2026 剑庭安 - 网站开发定制 SEO 优化蜘蛛池代做 在线看手相算命. 保留所有权利。

    Powered by 酷像SEOv3.0

    网站地图 Sitemap.xml
    首页 全部分类 黑客安全 逆向|反编译 精品源码 站长工具自助开通会员其他资源SEO工具站群源码泛程序蜘蛛模板蜘蛛池外链工具创意乐园 搜索 会员服务 登录 注册