From dc9ecd65ea4e930140bf682d05d31e5f82fb0a63 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=83=E6=A9=98=20=E9=9B=AB=E9=9C=9E?= Date: Sat, 12 Mar 2022 11:55:31 +0800 Subject: [PATCH] refactor: delete tag `14` in jce of `getSSOAddress` (#257) synchronize with source code --- client/global.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/global.go b/client/global.go index 909adde3d..5f29a6ba3 100644 --- a/client/global.go +++ b/client/global.go @@ -122,7 +122,7 @@ func getSSOAddress() ([]*net.TCPAddr, error) { WriteString("00000", 4).WriteInt32(100, 5). WriteInt32(int32(protocol.AppId), 6).WriteString(SystemDeviceInfo.IMEI, 7). WriteInt64(0, 8).WriteInt64(0, 9).WriteInt64(0, 10). - WriteInt64(0, 11).WriteByte(0, 12).WriteInt64(0, 13).WriteByte(1, 14).Bytes() + WriteInt64(0, 11).WriteByte(0, 12).WriteInt64(0, 13).Bytes() buf := &jce.RequestDataVersion3{ Map: map[string][]byte{"HttpServerListReq": packUniRequestData(payload)}, } @@ -140,7 +140,7 @@ func getSSOAddress() ([]*net.TCPAddr, error) { tea := binary.NewTeaCipher(key) encpkt := tea.Encrypt(b) cl() - rsp, err := utils.HttpPostBytes("https://configsvr.msf.3g.qq.com/configsvr/serverlist.jsp", encpkt) + rsp, err := utils.HttpPostBytes("https://configsvr.msf.3g.qq.com/configsvr/serverlist.jsp?mType=getssolist", encpkt) if err != nil { return nil, errors.Wrap(err, "unable to fetch server list") }