跳到正文
Skillpedia
安全48k · #5423

pentest-tools

它能做什么

这个工具可以帮助测试计算机系统和网络的安全性。它会使用多种专业工具查找薄弱环节,就像一位数字侦探。

适用场景

  • ✓当你获得了测试系统安全性的许可时。
  • ✓在黑客之前发现网站中的漏洞。
  • ✓以实践的方式了解安全测试是如何进行的。

技能链接

https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/pentest-tools/SKILL.md

复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。

使用方法

最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。

可直接粘贴的消息

请用这个技能帮我:https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/pentest-tools/SKILL.md 阅读该链接中的 SKILL.md 文件,并在我的任务中按照它的说明来做。
想让你的 AI 自己找到这样的技能吗?安装免费的 Skillpedia MCP:只需一行,每次任务前它都会在 15,000+ 个技能中搜索。1 分钟完成安装 →

可以这样问 AI

“我想测试 example.com 的安全性,请帮我查找已知漏洞。”

每周 5 个新技能,1 分钟读完。

工作原理

它会运行知名安全工具的命令,例如用 Nmap 查看开放端口,或用 SQLMap 测试 SQL 注入。在对目标执行任何测试之前,它都会先征求你的确认,并询问你的授权详情。

技术内容(原始 SKILL.md)

作者在 GitHub 上的英文原文。

⚠️ AUTHORIZED USE ONLY This skill is for educational purposes or authorized security assessments only. You must have explicit, written permission from the system owner before using this tool. Misuse of this tool is illegal and strictly prohibited.

Mandatory confirmation gate Before running any command that probes, exploits, changes, persists on, extracts data from, or attempts credential access against a target:

  1. Ask the user to state the exact target URL, IP, account, or resource.
  2. Ask the user to confirm written authorization and the permitted scope.
  3. Show the exact command(s) and explain their expected effect.
  4. Wait for explicit confirmation in the current conversation.

Without that confirmation, remain read-only and provide defensive guidance only. Prefer a sandbox, disposable VM, or controlled lab.

When to Use

  • An authorized assessment needs standard tooling orchestrated coherently.
  • Choosing and sequencing the right tool per recon/exploitation phase.

适用范围

当任务属于以下场景时使用本 skill:

  • 目标信息收集(端口扫描、子域名枚举、服务识别)
  • 漏洞扫描(Web 漏洞、CVE 检测、配置错误)
  • Web 渗透(SQL 注入、XSS、SSRF、目录爆破)
  • 密码破解(哈希破解、字典攻击)
  • 网络渗透(服务利用、横向移动辅助)

与其他 skill 的分工

场景 用什么
主动扫描/攻击(Nmap/Nuclei/SQLMap) 本 skill
逆向分析二进制 ida-reverse/ 或 radare2/
前端 JS 签名逆向 js-reverse/
浏览器/桌面自动化操作 browser-automation/
CTF 竞赛(综合) CTF-Sandbox-Orchestrator/

简单判断:

  • 需要"扫描目标、发现漏洞、利用漏洞" → 本 skill
  • 需要"分析程序内部逻辑" → 逆向类 skill
  • 需要"操作浏览器/桌面" → browser-automation

工具矩阵

信息收集

工具 用途 典型命令
Nmap 端口扫描、服务识别、OS 检测 nmap -sV -sC -O target
Masscan 大规模快速端口扫描 masscan -p1-65535 target --rate=1000
Subfinder 子域名枚举 subfinder -d target.com
httpx HTTP 探测、存活检测 httpx -l urls.txt -status-code

漏洞扫描

工具 用途 典型命令
Nuclei 模板化漏洞扫描(CVE/配置/暴露) nuclei -u target -t cves/
ZAP Web 应用安全扫描 通过 API 或 MCP 调用
Nikto Web 服务器漏洞扫描 nikto -h target

Web 渗透

工具 用途 典型命令
SQLMap SQL 注入自动化 sqlmap -u "url?id=1" --batch --dbs
FFUF 目录/参数爆破 ffuf -u target/FUZZ -w wordlist.txt
Gobuster 目录/子域名爆破 gobuster dir -u target -w wordlist
XSStrike XSS 检测 xsstrike -u "url?param=test"

密码破解

工具 用途 典型命令
Hashcat GPU 哈希破解 hashcat -m 0 hash.txt wordlist.txt
John the Ripper CPU 哈希破解 john --wordlist=rockyou.txt hash.txt
Hydra 在线暴力破解 hydra -l admin -P pass.txt target ssh

利用框架

工具 用途 说明
Metasploit 漏洞利用框架 需要单独安装,体量大
Impacket Windows 协议利用(SMB/WMI/Kerberos) pip install impacket

MCP 后端选择

本 skill 支持两种 MCP 后端,选一个即可:

方案 A:pentestMCP(推荐,Docker 一键)

  • 项目:https://github.com/ramkansal/pentestmcp
  • 特点:20+ 工具打包成单个 Docker 容器,MCP server 直接暴露
  • 工具:Nmap、Nuclei、ZAP、SQLMap、FFUF、Nikto、Gobuster、Subfinder、httpx 等
  • 安装:
# 拉取并运行
docker pull ramkansal/pentestmcp
docker run -d -p 8080:8080 ramkansal/pentestmcp

# 或本地构建
git clone https://github.com/ramkansal/pentestmcp.git
cd pentestmcp
docker build -t pentestmcp .
docker run -d -p 8080:8080 pentestmcp
  • MCP 注册:
{
  "mcpServers": {
    "pentest": {
      "url": "http://localhost:8080/mcp"
    }
  }
}

方案 B:mcp-security-hub(模块化)

方案 C:单工具 MCP(最轻量)

如果只需要某一个工具:

工具 MCP 项目 安装
Nmap nmap-mcp-server npm
Nuclei nuclei-mcp npm
SQLMap mcp-security-hub 子模块 pip

Reqable MCP(本地抓包与 API 工作台)

Reqable 桌面客户端可通过官方 Reqable MCP Server 暴露本地抓包、API、断点和规则能力。先单独安装并启动 Reqable,再登记 MCP:

powershell -NoProfile -ExecutionPolicy Bypass -File skills\scripts\bootstrap-reverse.ps1 -Capability reqable-mcp -McpHostTarget Codex

将 Codex 替换为 Claude 或 Both 可选择对应客户端;省略 -McpHostTarget 时不会写任何客户端全局配置。

登记后的 stdio 配置为:

{
  "mcpServers": {
    "reqable-mcp": {
      "command": "npx",
      "args": ["-y", "reqable-mcp-server@1.0.1", "--scope", "minimal"]
    }
  }
}

…

常见问题

使用这个工具需要许可吗?

是的,必须获得许可。你只能在已获得明确书面许可的系统上使用本工具。未经许可使用属于违法行为。

它可以执行哪些测试?

它可以进行网络扫描、查找过时的软件、测试 SQL 注入、破解密码等,使用的工具包括 Nmap、Nuclei、SQLMap 和 Hashcat。

它如何防止被滥用?

在任何可能影响目标系统的操作之前(例如扫描或尝试利用漏洞),它都会要求你确认具体目标、你的授权以及允许的范围。只有在你明确确认之后,它才会继续执行。

详情

作者的原始描述

Operate 20+ penetration-testing tools (Nmap, Nuclei, SQLMap, FFUF, Hashcat, and more) through structured workflows with consistent output handling.

repo: sickn33/agentic-awesome-skills

热度

GitHub 星标
48k
排名
#5423
许可证
MIT
更新时间
2026/10/15

这个技能有用吗?

0

登录 后即可投票。

评论

  • …

同一仓库的更多技能

相似技能