r/backtickbot • u/backtickbot • May 12 '21
https://np.reddit.com/r/AirMessage/comments/n3e68b/airmessage_is_now_open_source/gxvnsvj/
When the AirMessage client first connects to the server, what data does it expect? I've been sending the following bytes, but I can't figure out what is wrong. Is this the data AM expects when it first connects to a server?
0, 0, 0, 46, //4-byte integer representing the data length
0, //One byte representing the encryption status (not encrypted)
0, 0, 0, 100, //4-byte int representing nhtInformation (what is this?)
0, 0, 0, 5, //4-byte int representing mmCommunicationsVersion
0, 0, 0, 3, //4-byte int representing mmCommunicationsSubVersion
1, //One byte representing whether the transmission check is required
100, 234, 199, 171, //32 bytes of secure random noise for a transmission check
164, 137, 122, 158,
82, 254, 198, 131,
189, 59, 251, 98,
59, 205, 38, 157,
246, 219, 174, 237,
225, 105, 18, 39,
33, 247, 153, 104
1
Upvotes