File tree Expand file tree Collapse file tree 1 file changed +17
-2
lines changed
Expand file tree Collapse file tree 1 file changed +17
-2
lines changed Original file line number Diff line number Diff line change @@ -21,6 +21,7 @@ Java/Kotlin用户推荐使用 [spring-boot-starter](https://github.com/protobufb
2121如果已经挂了很久,非常确定不会遇到验证码的时候,可以把参数的` port ` 设为0,表示使用随机端口。
2222
2323### 参数
24+
2425``` shell
2526Usage of GMC:
2627 -uin int
@@ -57,6 +58,20 @@ chmod +x ./Go-Mirai-Client
5758./Go-Mirai-Client -uin < 机器人QQ> -pass < 机器人密码> -port < HTTP端口> -device < 设备信息位置> -ws_url < 消息处理器地址> -sms < 是否优先短信登录>
5859```
5960
61+ ### Docker
62+
63+ ``` shell
64+ docker run -it \
65+ --name=gmc \
66+ -p 9000:9000 \
67+ -e UIN=< 账号> \
68+ -e PASS=< 密码> \
69+ -e WS_URL=< WebSocket地址> \
70+ -e DEVICE=/deivce/123.json \
71+ -v < 设备文件目录> :/deivce \
72+ lz1998/gmc:0.1.11
73+ ```
74+
6075## 验证码类型及处理方法
6176
6277处理验证码时必须用到浏览器
@@ -83,7 +98,7 @@ chmod +x ./Go-Mirai-Client
8398
8499该方案为具体的抓包教程, 如果您已经知道如何在浏览器中抓包. 可以略过接下来的文档并直接抓取 ` cap_union_new_verify ` 的返回值, 提取 ` Ticket ` 并在命令行提交.
85100
86- 首先打开滑块链接. 这里以 * Microsoft Edge* 浏览器为例, * Chrome* 同理.
101+ 首先打开滑块链接. 这里以 * Microsoft Edge* 浏览器为例, * Chrome* 同理.
87102
88103![ image.png] ( https://i.loli.net/2020/12/27/otk9Hz7lBCaRFMV.png )
89104
@@ -107,7 +122,7 @@ chmod +x ./Go-Mirai-Client
107122
108123此时如果有多个请求, 请不要慌张. 看到上面的 ` Filter ` 没? 此时在 ` Filter ` 输入框中输入 ` cap_union_new ` , 就应该只剩一个请求了.
109124
110- 然后点击该请求. 点开 ` Preview ` 选项卡 (箭头):
125+ 然后点击该请求. 点开 ` Preview ` 选项卡 (箭头):
111126
112127![ image.png] ( https://i.loli.net/2020/12/27/P1VtxRWpjY8524Z.png )
113128
You can’t perform that action at this time.
0 commit comments