MCPcopy Index your code
hub / github.com/TryGOTry/C2_Demo

github.com/TryGOTry/C2_Demo @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
217 symbols 414 edges 61 files 47 documented · 22%
What it actually does AI analysis from the code graph — generated when you open this
loading…
README

go+c#乱写了一个基于http的远控(支持团队协同作战,功能很少)(写不下去了,勿喷)

实现功能

1.采用sqlite存储数据,但是不知道为啥,就几个表体积就变的很大?

2.参考cs弄成写成了团队服务器,所有接口采用一个文件启动.

3.管理接口通信采用base64混淆传输

4.客户端接口通信采用hex加aes传输,aes的key取uuid的前16位.

5.截图(转成base64后传输存放)

6.命令执行

使用说明

1.(C2_TeamServer-demo)Go 先启动服务端 server.exe -h 查看帮助 server.exe -r teamserver 启动团队接口,用于管理端连接,端口89 server.exe -r clientsever 启动客户机上线接口,端口88

db文件可以在这里下载后放到服务端的db目录下 db下载:https://share.weiyun.com/9aPUam9u

2.(C2_Client_Ui)c#两个接口启用完毕后开启管理端连接,默认账号密码123456

3.(C2_Client_Go)Go 登录后可以运行上线端进行测试,就是马儿.(运行前请先开启burp,监听端口8080,因为默认使用了代理,也方便测试)

相关截图

登录团队服务器

login

命令执行 cmd

截图 sc

时间

2021-11-3

Core symbols most depended-on inside this repo

RetErr
called by 8
C2_TeamServer-demo/teamapi/reterr.go
Encodestr
called by 8
C2_Client_Ui/C2_Client_Ui/Encode.cs
Post
called by 7
C2_Client_Ui/C2_Client_Ui/Http.cs
CrearToken
called by 6
C2_Client_Ui/C2_Client_Ui/Http.cs
GetTimeStamp
called by 6
C2_Client_Ui/C2_Client_Ui/Http.cs
Set
called by 5
C2_Client_Go/cmd/root.go
EncodeStr
called by 3
C2_TeamServer-demo/clientApi/encode.go
Logo
called by 3
C2_TeamServer-demo/manage/admin.go

Shape

Function 97
Method 76
Class 29
Struct 14
TypeAlias 1

Languages

Go53%
C#47%

Modules by API surface

C2_Client_Ui/C2_Client_Ui/C2_Manage.cs17 symbols
C2_TeamServer-demo/sql3/team.go11 symbols
C2_Client_Ui/C2_Client_Ui/Screenshot.cs11 symbols
C2_Client_Ui/C2_Client_Ui/JsonType.cs10 symbols
C2_Client_Go/config/config.go10 symbols
C2_Client_Ui/C2_Client_Ui/TeamApi.cs8 symbols
C2_TeamServer-demo/sql3/client.go7 symbols
C2_Client_Ui/C2_Client_Ui/Proxy_set.cs7 symbols
C2_Client_Ui/C2_Client_Ui/Form1.cs7 symbols
C2_Client_Ui/C2_Client_Ui/CmdForm.cs7 symbols
C2_TeamServer-demo/sql3/databases.go6 symbols
C2_Client_Ui/C2_Client_Ui/Http.cs6 symbols

For agents

$ claude mcp add C2_Demo \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page