File tree Expand file tree Collapse file tree 1 file changed +33
-0
lines changed
Expand file tree Collapse file tree 1 file changed +33
-0
lines changed Original file line number Diff line number Diff line change 1+ # 配置 beacon 本身hook的函数符号以及全局配置
2+ [c2_config]
3+ # hook函数
4+ # 初始化 阶段 void cc2_init() {}
5+ cc2_init = aa1
6+ # 错误重连 阶段,传入重连次数 void cc2_retryConnect(int retryCount) {}
7+ cc2_retryConnect = bb
8+
9+ # 协议重绑定库的函数名称自定义
10+ # cc2_rebind_get_protocol = cc
11+ # cc2_rebind_post_protocol = dd
12+ # cc2_rebind_http_get_send = ee3
13+ # cc2_rebind_http_get_recv = ff
14+ # cc2_rebind_http_post_send = gg
15+ # cc2_rebind_http_post_recv = hh
16+
17+ # 一些全局配置
18+ # 运行后是否需要自删除
19+ cc2_auto_delete = false
20+ # 是否需要后台运行
21+ cc2_daemon = false
22+ # sleep时间 (10 = 10 sec)
23+ sleeptime = 10
24+ # 心跳抖动时间
25+ jitter = 37
26+ # 数据提交抖动时间
27+ data_jitter = 100
28+ # 创建任务的pipe名称(默认 = joblist)
29+ ; job_pipe_name = joblist
30+ # 运行任务的pipe名称(默认 .syspipe)
31+ process_pipe_name = sys_pipe
32+ # 请求的dns服务
33+ dns_server = 8.8.8.8
You can’t perform that action at this time.
0 commit comments