Skip to content

Commit

Permalink
Merge pull request #166 from gloxec/CrossC2Kit-dev
Browse files Browse the repository at this point in the history
Create config_demo.ini

Former-commit-id: e74aecd
  • Loading branch information
gloxec authored Jun 7, 2022
2 parents 71a46d4 + e4c40f7 commit 29cd196
Showing 1 changed file with 33 additions and 0 deletions.
33 changes: 33 additions & 0 deletions src/config_demo.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# 配置 beacon 本身hook的函数符号以及全局配置
[c2_config]
# hook函数
# 初始化 阶段 void cc2_init() {}
cc2_init = aa1
# 错误重连 阶段,传入重连次数 void cc2_retryConnect(int retryCount) {}
cc2_retryConnect = bb

# 协议重绑定库的函数名称自定义
# cc2_rebind_get_protocol = cc
# cc2_rebind_post_protocol = dd
# cc2_rebind_http_get_send = ee3
# cc2_rebind_http_get_recv = ff
# cc2_rebind_http_post_send = gg
# cc2_rebind_http_post_recv = hh

# 一些全局配置
# 运行后是否需要自删除
cc2_auto_delete = false
# 是否需要后台运行
cc2_daemon = false
# sleep时间 (10 = 10 sec)
sleeptime = 10
# 心跳抖动时间
jitter = 37
# 数据提交抖动时间
data_jitter = 100
# 创建任务的pipe名称(默认 = joblist)
; job_pipe_name = joblist
# 运行任务的pipe名称(默认 .syspipe)
process_pipe_name = sys_pipe
# 请求的dns服务
dns_server = 8.8.8.8

0 comments on commit 29cd196

Please sign in to comment.