mirror of
https://github.com/Mrs4s/MiraiGo.git
synced 2025-05-04 11:07:40 +08:00
fix: T119 (#221)
* fix: 奇怪的永真式引起的报错 * Update tlv_decoders.go * fix: 我是憨憨 * fix: 我是憨憨 --------- Co-authored-by: 源文雨 <41315874+fumiama@users.noreply.github.com>
This commit is contained in:
parent
b49cd23484
commit
42148c0fbd
@ -109,7 +109,7 @@ func (c *QQClient) decodeT119(data, ek []byte) {
|
|||||||
|
|
||||||
s.PsKeyMap = psKeyMap
|
s.PsKeyMap = psKeyMap
|
||||||
s.Pt4TokenMap = pt4TokenMap
|
s.Pt4TokenMap = pt4TokenMap
|
||||||
if len(c.PasswordMd5[:]) > 0 {
|
if len(c.sig.EncryptedA1) > 51+16 {
|
||||||
data, cl := binary.OpenWriterF(func(w *binary.Writer) {
|
data, cl := binary.OpenWriterF(func(w *binary.Writer) {
|
||||||
w.Write(c.PasswordMd5[:])
|
w.Write(c.PasswordMd5[:])
|
||||||
w.WriteUInt32(0) // []byte{0x00, 0x00, 0x00, 0x00}...
|
w.WriteUInt32(0) // []byte{0x00, 0x00, 0x00, 0x00}...
|
||||||
|
Loading…
x
Reference in New Issue
Block a user