Commit 94744b14 authored by Him188's avatar Him188 Committed by GitHub

Update README.md

parent 809cfcb2
...@@ -27,9 +27,9 @@ OutgoingPacket { ...@@ -27,9 +27,9 @@ OutgoingPacket {
int subAppId int subAppId
hex "01 00 00 00 00 00 00 00 00 00 01 00" // unknown values hex "01 00 00 00 00 00 00 00 00 00 01 00" // unknown values
int extraData.size + 4 int extraData.size + 4
byte[] extraData byte[] extraData // empty when login
int commandName.length + 4 int commandName.length + 4
byte[] commandName byte[] commandName // e.g. wtlogin.login
int 4 + 4 int 4 + 4
int 0x02B05B8B int 0x02B05B8B
int imei.length + 4 int imei.length + 4
...@@ -65,7 +65,7 @@ OutgoingPacket { ...@@ -65,7 +65,7 @@ OutgoingPacket {
head { head {
byte 1 byte 1
byte 1 byte 1
byte[] [ECDH.privateKey] byte[] privateKey // random key
short 258 short 258
short [ECDH.publicKey].size // always 49 short [ECDH.publicKey].size // always 49
byte[] [ECDH.publicKey] byte[] [ECDH.publicKey]
...@@ -82,7 +82,7 @@ OutgoingPacket { ...@@ -82,7 +82,7 @@ OutgoingPacket {
byte 1 byte 1
byte if (currentLoginState == 2) 3 else 2 byte if (currentLoginState == 2) 3 else 2
fully key fully key
short 258 short 258 // const
short 0 short 0
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment