Hacking Infantry
There are several main approaches to hacking any online game, they are as follows:
- TSearching the offset.
- Bypassing the updater.
- Differentiating the packet.
Ofcourse, sometimes you may have to do a combination of the three. Infantry is well coded in respect to this, because you will have to employ all three techniques to successfully hack the game and not get caught.
TSearching the offset is probably the simplest of the three concepts. You must start by finding an offset which varies in the following manner (You should use TSearch only for this, as it is tailored to the routine Infantry uses)...
Firstly search for a double word value, then refine this search upon logging in by searching for a value which increases.
This value should then be refined further by searching for a decrease in said value by no more than 15% (however more accurate results can be obtained by searching for a value decrease of 10 or 5% but you must be quicker upon logging in). Examples of values you can lock are: Ammo, health, number of players etc.
Once this is done you may find the lock the value within TSearch.
Additional: You may want to download the Trainer Maker Kit to lock this value, do not attempt to make your own trainer as the Trainer Maker Kit will provide a failsafe way to lock the correct value.
The next step is self-explanatory, you must bypass the Infantry updater as it has been shown that in excess 90% of the cheat protection schemes are done client-side, there are no serverside checks. Thus an earlier version gives less protection for the server. This can be done by obtaining an early version of the client and disconnecting your internet at the socket for a short time whilst it attempts to update.
Differentiating the packet, a normally simple matter, is relatively hard to do for a newbie in Infantry.
Take the following packet for example.
0x05 0x43 0x11
You would differentiate said packet to get 5, 43, 11 (The 0 at the front of each byte is a standard prefix and can be discarded to get x05, x43 or 5x / 43x etc). However the packets for Infantry are said to be in the form of 'e^x' so differentiating them will yield no result.
To combat this you must differentiate with respect to y. A sneaky trick employed by the Infantry programmers, but I'm sure you'll agree it's fairly simple to remedy once you've noticed the problem. For more information on differentiation you can visit
MathWorld at Wolfram∞.
Once the packet is differentiated you can analyze the packet as ASCII text to discern meaningful data on the packet in question.
I hope this has been of some help, look forward to seeing everyone's hacks.
CategoryTutorialsGameReversing
There are no comments on this page. [Add comment]