This repository has been archived by the owner on May 22, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
/
example.config.toml
83 lines (75 loc) · 2.76 KB
/
example.config.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
# 配置文件,"[]"中的值为默认配置
# ====账号信息======================================
# 说明:三个参数都可以抓包得到,抓包教程:
# [安卓手机端抓取教程【新】【推荐】](https://blog.chrxw.com/archives/2020/08/10/1353.html)
# [安卓手机端抓取教程](https://blog.chrxw.com/archives/2019/10/19/390.html)
# [Fiddler抓取教程](https://blog.chrxw.com/archives/2019/10/20/437.html)
[[accounts]]
heybox_id = 0
imei = ""
pkey = ""
# 为每个账号独立配置请求头, 不设置的话使用[heybox]节的全局配置
# channel = "heybox_xiaomi"
# os_type = 1
# os_version = "8.1"
# 如果有多个账号,像这样多写几组即可(记得去除下面4行前面的#号)
# [[accounts]]
# heybox_id = 0
# imei = ""
# pkey = ""
# ====其他配置======================================
[main]
# 是否检查更新, [true]
check_update = true
# 是否开启调试模式, [false]
debug = false
# 是否参与互助计划, [true]
join_xhhauto = true
# 互助计划说明:
# 开启后会自动关注我的账号和我的粉丝的账号
# 也就是让使用本脚本的用户都能互相关注
# 再配合动态点赞功能,让所有人都能快速获赞
# 如果不想参加改成false即可
# ====推送设置======================================
[ftqq]
# 方糖气球模块,用于推送运行结果到微信
# 是否开启方糖气球模块,开启后会将结果推送至微信, [false]
enable = false
# 方糖气球SKEY,获取地址:(http://sc.ftqq.com/)
skey = ""
# 设置为true后只会在程序出错时才会推送消息, [false]
only_on_error = false
[email]
# 邮件模块,用于推送结果到邮箱
# 是否开启邮箱模块, [false]
enable = false
# SMTP服务器设置
port = 465
server = "smtp.qq.com"
# SMTP登陆凭据
password = ''
user = 'example@mail.com'
# 收发信箱设置
recvaddr = 'recv@example.com'
sendaddr = 'send@example.com'
# 设置为true后只会在程序出错时才会推送消息,[false]
only_on_error = false
# ====高级配置======================================
# 这里是全局配置, 也可以在[accounts]节为每个账户单独配置
# 支持独立配置的有os_type,channel,os_version
[heybox]
# 自定义请求头数据,如果担心被风控请自行修改修改, [1]
# 表示模拟哪种客户端, 1:Android, 2:iOS,
os_type = 1
# 表明客户端来自哪个渠道,仅安卓客户端有效, ["heybox_yingyongbao"]
channel = "heybox_yingyongbao"
# 系统版本,对应Android或者IOS版本, ["8.1"]
os_version = "8.1"
# 随机延时倍数, [1.0]
# 设为0.5代表延时时间缩短一半,以此类推
# 如果需要手动控制延时就设为0
sleep_interval = 1.0
# 开启后自动发送report流量,伪装正常客户端, [true]
auto_report = true
# 远程RPC服务器地址
rpc_server = 'http://192.168.50.184:9000/encode'