ummm why are you working in binary?Quote:
Originally posted by HFMuRdOc@Aug 2 2006, 19:32
so... to decrypt packet:
D3 33 EF AD FB E3 7D 21 7A FB E8 05 A6 EF F4 C9 3F F3 E0 6D FE 77 2C 71 1A 8B 58 D5
i'd have to do:
and so forth with the following bytes of keys and code?Code:11010011 -> D3 10101011 -> AB = 01111000 -> 78 78 -> 87 10000111 -> 87 01100010 -> 62 = 11100101 -> E5 11100101 -> E5 10011101 -> 9D = 01111000 -> 78 00110011 -> 33 10101011 -> AB = 10011000 -> 98 98 -> 89 10001001 -> 89 01100010 -> 62 = 11101011 -> EB 11101011 -> EB 10010000 -> 90 = 01111011 -> 7B
If you just wanna take the packet and decrypt it, first of all you need to know if this packet is from the client or if its from the server, if this is a game server packet and its from the client you also need to know Key3 and Key4
D3 has an int value of 211
so if this was a packet from the server then
((211 XOR Key1(Key1Counter)) XOR Key2(Key2Counter))
Convert result integer to hex value
Reverse the string (PRE ZERO OR POST 0 Dependant on client or server packet)
Convert Hex to an Integer XOR 171
Increment KeyCounter
I dunno wat your trying todo or what programming language your working in so i cant help much more than that