Pentest exploit

From xegeng/dsh-pentest-skills · View interactive version

Pentest exploit is an AI agent skill from the GitHub repository xegeng/dsh-pentest-skills. 已知漏洞利用工作台。根据 pocscan/fingerprint 命中识别可利用漏洞,生成利用命令与步骤(ysoserial payload、sqlmap getshell、手工验证)。只生成命令不自动执行,执行前必须确认。

How to use this skill

Skill file

已知漏洞利用 / pentest-exploit

利用工作台:从 pocscan/fingerprint 结果识别可利用漏洞类型,生成对应利用命令与验证步骤(可复制执行)。不自动执行破坏性 payload。

⚠️ 强制确认(必须遵守)

生成利用命令后,若用户要实际执行任何 exploit,必须先再次确认:

  1. 目标与漏洞类型
  2. 具体 payload 与预期影响
  3. 授权范围覆盖该漏洞验证

授权

执行必须带 --authorized,仅限授权目标。

执行

# 自动:读 pocscan 命中,生成利用指南
python pentest.py exploit --authorized

# 指定目标目录(读该目标的 pocscan 结果)
python pentest.py exploit <目标目录名> --authorized

# 手动指定漏洞类型
python pentest.py exploit --vuln shiro,beanshell --authorized

支持类型

| key | 漏洞 | 生成内容 |

|---|---|---|

| shiro | Apache Shiro 反序列化 | ysoserial payload 命令 + 利用步骤 |

| weblogic | WebLogic T3/IIOP | 按版本选 exp 指引 |

| beanshell | 泛微 BshServlet RCE | curl 验证命令 |

| thinkphp | ThinkPHP RCE | 验证步骤 |

| springboot | Spring Boot actuator 泄露 | 端点核查步骤 |

| seeyon / tongda | 致远/通达 OA | 按 CVE 指引 |

输出

<输出目录>/<目标>\exploit\:

红线

联动

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.