1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 11:07:40 +08:00

Merge pull request #253 from lz1998/t106

fix t106
This commit is contained in:
Mrs4s 2022-05-09 22:25:00 +08:00 committed by GitHub
commit 0f43de570f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -35,7 +35,7 @@ func T106(uin, salt, appId, ssoVer uint32, passwordMd5 [16]byte, guidAvailable b
} else { } else {
w.WriteUInt64(uint64(uin)) w.WriteUInt64(uint64(uin))
} }
w.WriteUInt32(uint32(time.Now().UnixNano() / 1e6)) w.WriteUInt32(uint32(time.Now().Unix()))
w.WriteUInt32(0) // fake ip w.Write([]byte{0x00, 0x00, 0x00, 0x00}) w.WriteUInt32(0) // fake ip w.Write([]byte{0x00, 0x00, 0x00, 0x00})
w.WriteByte(0x01) w.WriteByte(0x01)
w.Write(passwordMd5[:]) w.Write(passwordMd5[:])