钓鱼模拟API服务

Gophish MCP Server是一个提供AI助手直接访问Gophish API功能的MCP服务器,用于钓鱼模拟活动。

  • by DoobTheGoober
  • Python
  • 本地部署
  • 更新于
在 GitHub 查看 CharlesTheGreat77/mcpy-gophish

使用说明

Gophish MCP服务器

一种MCP(模型上下文协议)服务器,为人工智能助手提供对Gophish API功能的直接访问,用于钓鱼模拟活动。

⚠️ 免责声明

此工具仅用于授权的安全测试。仅在您拥有或有明确测试权限的系统上使用。

设置

  1. 创建 config.json:

    {
        "api": "your_gophish_api_key",
        "base_url": "https://localhost:3333/api",
        "verify_ssl": true
    }
    
  2. 运行服务器:

    uv run main.py
    
  • 可选择使用mcpo: uvx mcpo --port 8000 -- uv run main.py

它做什么

此MCP服务器公开了Gophish API功能,因此AI助手可以:

  • 模板:创建、阅读、更新、删除电子邮件模板
  • SMTP配置文件:管理发送配置文件
  • 登录页:创建页面并导入现有网站
  • 群组:管理目标收件人组
  • 活动:创建、启动和监控钓鱼活动

主要特点

  • API调用的错误处理
  • 可与任何兼容MCP的AI助手配合使用
  • 直接映射到Gophish API端点

用法示例

一旦通过MCP连接到AI助手:

"Create a appealing email template called 'Sign Off Email' for my company EXAMPLE to sign off on the access forms at http://127.0.0.1"
...
"Create a landing page called 'Sign Off Landing Page' that takes a name and email for the sign off template, and enable capturing credentials"
...
"Create a campaign named 'Access Form Campaign' with the created template and landing page to the target group 'HR Department' with the sending profile 'Default'."
...
"Add 'example@email.com' with first name John, last name Doe to the 'Default' sending profile."
...
"List the templates and landing pages"
...

然后,AI可以调用适当的函数来自动设置活动。