Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
mothership_c2 — 基于HTTP的命令与控制服务器,具备端到端加密、代理管理功能,并内置用于发送命令和查看输出的Web前端。 | Kitploit
工具/GitLabGitLab/ceald1/mothership_c2
加密/解密工具Payload生成命令与控制红队
GitLabceald1/mothership_c2

mothership_c2

基于HTTP的命令与控制服务器,具备端到端加密、代理管理功能,并内置用于发送命令和查看输出的Web前端。

查看仓库
11年前尚未审核

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

Mothership C2

alt text

$\textcolor{red}{\text{免责声明!}}$

$\textcolor{red}{\text{此工具仅供道德使用!}}$

描述

Mothership C2 是一个用 Python 编写的命令与控制服务器。

特性

  • 支持发送和接收命令的端到端加密
  • 全部使用 HTTP 进行通信
  • 目前支持 Linux(Windows 支持正在测试中)
  • 使用 DragonflyDB(Redis 的更快速替代品)

前端

这里是前端的一个示例截图。内置终端以及创建和删除代理的方式!要运行前端,请进入 webapp 目录并运行 docker compose up。

客户端文档

客户端文档

API 文档

API 的相关文档。

客户端路由:

所有客户端的端点都需要 admin JWT。

POST /api/config

如果数据库位于非默认主机上,请配置数据库。

root@kitploit:~
{
  "host": "localhost",
  "port": "6379",
  "db": "0"
}

示例响应:

root@kitploit:~
{"response": "config updated!"}

GET /api/db/priv_key

获取数据库的私钥,以便解密命令响应。

示例响应:

root@kitploit:~
{"response": "server private key"}

POST /api/connections/<agent_id>/command

向代理发送命令。

root@kitploit:~
{
  "command": "string",
  "directory": ""
}

示例输出: 200

GET /api/connections/list

列出数据库中的所有连接。

示例响应:

root@kitploit:~
{"response": ["agent1", "agent2"]}

GET /api/connections/<agent_id>/output

获取命令的输出。

示例响应:

root@kitploit:~
{"response": decrypted}

GET /api/connections/<agent_id>/close

关闭与代理的连接。

示例响应:

root@kitploit:~
{"response": "deleted agent123!"}

GET /api/connections/create

创建一个新的代理ID,供新代理连接使用。

示例响应:

root@kitploit:~
{"response": "a52a7cca-5ca9-46ed-98c0-3ee694a97e45"}

GET /api/connections/<agent_id>/info

获取连接信息,例如操作系统、公钥、命令、命令输出、命令历史、服务器端公钥。

示例响应:

root@kitploit:~
{"response": 
    {
        "history": "", 
        "OS": "linux",
        "pubKey": "0x000000",
        "serverKey": "0x00000"
    }
}

代理端点

POST /api/connections/register

注册一个代理。

root@kitploit:~
{
  "hashedID": "string",
  "public_key": "string",
  "target_os": "string"
}

GET /api/connections/<hashed_agent_id>/command

代理获取要执行的 shell 命令。代理获取的命令是加密的,有关代理如何解密命令,请参阅代理代码。

示例响应:

root@kitploit:~
{"response": "command"}

POST /api/connections/<hashed_agent_id>/output

发送命令输出,输出会被加密,并在客户端请求时由 API 解密。

root@kitploit:~
{
  "command_output": "string"
}
下载工具