Token导航 LogoToken导航TokenDH.com
MCP Pwnbox logo
安全风控stdio官方级别未说明来源级核验

MCP Pwnbox

MCP Server

MCP Pwnbox 是一个基于MCP协议的渗透测试工具套件,提供自动化侦察、枚举、利用和后利用功能,适用于安全测试工作流。

工具数

28

提示词数

0

GitHub Stars

0

资源数

0
渗透测试安全PythonClaude安全工具Claude

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

作者 / 组织

berts-repo

提供方

berts-repo

最后核验

2026/5/17 20:21

运行时

Python

快速接入

先看主来源和安装命令,再打开仓库或文档;下面只保留这个条目的关键接入事实。

命令预览

python example_client.py

详细介绍

MCP Pwnbox

一套用于渗透测试工作流的MCP(模型上下文协议)服务器。通过标准化协议公开安全工具,允许AI助手执行自动侦察、枚举、利用和后利用。

建筑

┌─────────────┐
│  AI Client  │  (Claude Code, etc.)
└──────┬──────┘
       │ MCP Protocol (stdin/stdout)
       ▼
┌─────────────────────────────────────┐
│      ORCHESTRATOR (MCP Server)      │
│  ┌───────────┐  ┌───────────────┐   │
│  │   State   │  │    Phase      │   │
│  │  Machine  │  │  Controller   │   │
│  └───────────┘  └───────────────┘   │
└─────────────────────────────────────┘
       │
       ▼
┌──────┴──────┬───────────┬───────────┐
│pwnbox-recon │pwnbox-enum│pwnbox-exploit│pwnbox-post
│  nmap       │  gobuster │  sqlmap      │  linpeas
│  masscan    │  ffuf     │  hydra       │  chisel
│  dig        │  ferox    │  nikto       │  nxc
└─────────────┴───────────┴──────────────┴───────────

快速开始

先决条件

  • Docker和Docker组合
  • Python 3.11+(例如客户端)
  • pip install mcp (MCP客户端库)
  • 单词列表位于 /usr/share/wordlists (或调整docker组成卷)

设置

# Clone and enter directory
cd mcp-pwnbox

# Build all containers
docker compose build

# Start all services
docker compose up -d

# Verify containers are running
docker ps | grep pwnbox

测试设置

# Test orchestrator
docker exec -i pwnbox-orchestrator python -c "
from server import handle_get_state
import asyncio
print(asyncio.run(handle_get_state({})))
"

# Test recon server
docker exec -it pwnbox-recon nmap --version

# Run example client
python example_client.py

API命令(CLI示例)

这些示例直接通过每个容器的stdio服务器调用MCP工具。

# List tools from a server (example: recon)
python - <<'PY'
import asyncio
from mcp import ClientSession, StdioServerParameters
from mcp.client.stdio import stdio_client

async def main():
    params = StdioServerParameters(
        command="docker",
        args=["exec", "-i", "pwnbox-recon", "python", "/app/server.py"],
        env=None,
    )
    async with stdio_client(params) as (read, write):
        async with ClientSession(read, write) as session:
            await session.initialize()
            tools = await session.list_tools()
            for t in tools.tools:
                print(f"{t.name}: {t.description}")

asyncio.run(main())
PY

# Call a tool (example: nmap_scan)
TARGET=10.10.10.5
python - <
 dict:
    cmd = ["tool", args["param"]]
    return await run_command(cmd)
  1. 如果需要新的二进制文件,请更新Dockerfile
  2. 如果工具属于特定阶段,则更新phase_controller.py

测试目标

  • scanme.nmap.org -官方nmap测试服务器(安全)
  • localhost -本地测试
  • HTB目标-需要主机上的VPN连接(tun0)

资源

安全说明

这是为了 仅限学习和授权测试。仅扫描您拥有或明确允许测试的系统。

目录标签

目录标签

渗透测试安全PythonClaude安全工具本地部署自动化测试网络安全MCP协议

支持客户端

Claude

接入字段

传输方式(transport,传输协议)

stdio

鉴权方式(authType,认证方式)

token

运行时(runtime,运行环境)

Python

工具数量(toolCount,工具数)

28

资源数量(resourceCount,资源数)

0

提示词数量(promptCount,提示词数)

0

权限和风险

stdiotoken部署方式未说明

接入前请确认传输方式、认证方式和部署位置,并根据实际工具能力限制访问范围。

安装前确认

不要直接授予不必要的文件、网络或账号权限;先核对安装命令和配置内容。

来源信息

继续浏览同类 MCP