1
0
mirror of https://github.com/Mrs4s/MiraiGo.git synced 2025-05-04 19:17:38 +08:00
This commit is contained in:
lz1998 2022-02-20 19:15:54 +08:00
parent 32ef91dd32
commit c17b9b73c6

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[:])