网络安全工具包

一个轻量级、可扩展的网络安全工具包,通过模型上下文协议(MCP)将AI助手连接到安全工具,支持AI辅助的安全研究、扫描和分析。

  • by HappyHackingSpace
  • Python
  • 本地部署
  • 15 星标
  • 更新于
在 GitHub 查看 HappyHackingSpace/mcp-hydra

使用说明

HydraΜCP——模型上下文协议(MCP)渗透测试工具包

⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⠿⠿⠿⠿⢿⣿⣿⣿⣿⣿
⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⠿⣿⣿⠟⠙⠻⠿⠋⠙⠻⠷⠄⠀⠀⠀⠀⠀⠀⢸⣿
⣿⣿⣿⣿⣿⣿⠿⢿⠿⠋⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⢠⣾⣿⣿⣿
⣿⣿⣿⣿⣿⡿⠀⠀⠀⠀⠀⢀⣀⣤⣴⣶⣾⣿⣿⣿⣿⣿⣇⡀⠀⠈⠻⠿⣿⣿
⣿⣿⣿⠉⠉⠀⠀⠀⠀⣠⣶⣿⣿⣿⣿⣿⣿⣿⣿⢿⣿⣿⣿⣿⣿⣷⣶⣶⣿⣿
⣿⠿⠟⠀⠀⠀⢀⣠⣾⣿⡿⠻⠿⠟⠙⠿⠟⠻⣿⡆⠈⠻⣿⣿⣿⣿⣿⣿⣿⣿
⣿⠀⠀⠀⠀⢀⣾⠏⠈⠉⠀⠀⠀⠀⠀⠀⠀⠀⠀⠁⠀⠀⠈⠻⣿⣿⣿⣿⣿⣿
⣿⠀⠀⠀⠀⠈⠁⠀⠀⠀⠀⣠⣤⣶⣶⣶⣶⣦⡄⠀⠀⠀⠀⠀⠈⠻⣿⣿⣿⣿
⣿⠀⠀⠀⠀⠀⠀⠀⠀⣠⣾⣿⣿⣿⣿⣿⣿⣿⣦⡀⠀⣾⣿⣿⣆⣤⣾⣿⣿⣿
⣿⠀h⠀⠀⠀⠀⠀⠀⠘⠛⠛⠻⣿⣿⣿⣿⣿⣿⣿⣿⣦⠈⣻⣿⣿⣿⣿⣿⣿⣿
⣿⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠀⠈⠉⢻⣿⣿⡿⠿⠿⠿⢿⣿⣿⣿⣿⣿⣿⣿⣿
⣿⠀⠀⠀⠀⢀⣠⣤⣤⣤⣄⣀⠀⠀⠈⠛⠹⣿⠷⣄⠀⠀⠀⠀⠉⠉⠉⣹⣿⣿
⣿⠀⠀⢀⣾⣿⣿⣿⣿⣿⣿⣿⣷⣤⣀⠀⠀⠀⠀⠀⠀⠀⠀⢀⣴⣶⣶⣿⣿⣿
⣿⠀⢀⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣷⣶⣶⣶⣶⣆⡀⠀⠈⠻⠿⣿⣿⣿
⣿⣤⣼⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣿⣶⣶⣿⣿⣿

一个轻量级、可扩展的网络安全工具包,通过模型上下文协议(MCP)将人工智能助手连接到安全工具,实现人工智能辅助的安全研究、扫描和分析。

演示-Sqlmap

扫描器

Sqlmap

霍莱赫

Ocr2文本

夏洛克

安装

构建Docker镜像

git clone https://github.com/happyhackingspace/mcp-hydra.git
cd mcp-hydra
docker build -t hydramcp .

用法

编辑您的 claude_desktop_config.json

{
  "mcpServers": {
    "hydramcp": {
      "command": "docker",
      "args": ["run", "--rm", "-i","--name","hydramcp", "hydramcp"]
    }
  }
}

或者在vscode中复制副本

mkdir -p .vscode
cd .vscode
touch mcp.json
```json
{
    "servers": {
        "hydramcp": {
            "command": "docker",
            "args": [
                "run",
                "--rm",
                "-i",
                "--net=host",
                "--privileged",
                "--name",
                "hydramcp",
                "hydramcp"
            ]
        }
    }
}

您可以使用以下提示来测试工具:

Sublist3r
> Use Sublist3rScanner to find all subdomains for example.com and save results to the "recon" folder.
--
DNSRecon
> Run a DNS reconnaissance scan on example.com using DNSReconScanner with standard scan type.
--
Holehe
> Use HoleheScanner to check if the email address user@example.com is registered on various websites.
--
Nmap
> Scan 192.168.1.1 with NmapScanner to check for open ports in the range 1-1000.
--
Ocr2Text
> Use OcrScanner to extract text from the screenshot at /path/to/image.png.
--
Sqlmap 
> Run SqlmapScanner on http://testphp.vulnweb.com/listproducts.php?cat=1 to check for SQL injection vulnerabilities.
--
WPScan
> Use WPScanScanner to scan the WordPress site at https://example.com for vulnerabilities.
--
Zmap
> Scan the subnet 192.168.1.0/24 for systems with port 80 open using ZmapScanner with 1M bandwidth.

更新日志

已实施的工具

  • [x] Sublist3r-域枚举工具
  • [x] DNSRecon-DNS侦察工具
  • [x] Holehe-电子邮件注册检查器
  • [x] Nmap-网络扫描器
  • [x] OCR-光学字符识别
  • [x] Sqlmap-SQL注入扫描程序
  • [x] WPScan-WordPress安全扫描程序
  • [x] Zmap-互联网扫描仪

计划工具

  • []除尘器
  • []收割机
  • []gitrecon
  • []电话运营商查询
  • []Netcraft
  • []Cloudunstore(claudflare旁路)
  • [ ] 人口普查
  • []可编程搜索引擎
  • [ ] Wayback 机器
  • [ ] 索丹
  • []Wappalyzer
  • []Hunter.io
  • []核
  • []阿玛斯
  • []GitSecrets-@awcrats/git secrets或@trufflesecurity/trufflehog
  • []去像素化-https://github.com/spipm/Depixelization_poc
  • []ExifTool
  • []苏丹病https://github.com/screetsec/Sudomy

贡献

如果你想为这个项目做出贡献,请按照以下步骤操作:

  1. 分叉存储库。
  2. 创建新分支(git checkout -b feature-branch).
  3. 进行更改并提交(git commit -m 'Add some feature').
  4. 推到分支(git push origin feature-branch).

免责声明

本项目仅用于教育目的。使用它的风险由你自己承担。作者对使用本软件可能产生的任何损害或法律问题不承担责任。