• Advertisement
Sign in to follow this  

checksums won't match!

This topic is 3468 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I'm making a macro for a game using autoit and packetx, which sends raw packets (eth, ip, tcp, everything). I captured a chat packet from the game: 00000000: 00 17 3F 66 F0 90 00 13 20 9B 88 3C 08 00 45 00 .?f... ..<.E. 00000010: 00 32 2A E0 40 00 80 06 B7 10 C0 A8 01 64 C1 EE .2*.@.....d.. 00000020: 94 DA 0E BD 01 BB 46 C9 A3 C0 AF 3D AB 7D 50 18 ....F....=.}P 00000030: FE 5C F6 1F 00 00 42 4D 2A 7C 68 6D 6D 7C 0A 00 .\...BM*|hmm| I tried recreating the check sum for the ip header and tcp header many times and it won't match the ones in the packet (B7 10, F6 1F). Here is what I have done: 45 00 + 00 32 = 4532 + 2A E0 = 6B62 + 40 00 = AB62 + 80 06 = 18B68 + 00 00 = + C0 A8 = 30C76 + 01 64 = 30DDA + C1 EE = F3394 + 94 DA = FC92E + 00 0F = C949 = 1100100101001001 = 0011011010110110 = 36 B6 <- not B7 10 Can anyone tell me what I'm doing wrong?

Share this post


Link to post
Share on other sites
Advertisement
Are you sure you have your endianness correct? network byte order is big endian and X86 is little endian.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement