Query Mechanism: Difference between revisions
Jump to navigation
Jump to search

This wiki is using an old backup from 2020
Some information may be old/missing
(Created page with "== The backbone of packets == {| class="wikitable" style="text-align: center;" |- ! Byte !! PHP !! Hexadecimal !! Description |- ! 0-3 | style="background: #444; color: #FFF"...") |
(No difference)
|
Revision as of 06:44, 16 November 2014
The backbone of packets
Byte | PHP | Hexadecimal | Description |
---|---|---|---|
0-3 | "VCMP" | 56 43 4D 50 | The magic of the packet. |
4 | chr('192'); | C0 | The first byte in the server's IP address. |
5 | chr('168'); | A8 | The second byte in the server's IP address. |
6 | chr('200'); | C8 | The third byte in the server's IP address. |
7 | chr('103'); | 67 | The fourth byte in the server's IP address. |
8 | chr('5192' & 0xFF); | 48 | The first byte of the port. |
9 | chr('5192' >> 8 & 0xFF); | 14 | The second byte of the port. |
10 | "i" | 69 | The opcode that you would like to query. |