Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Keeping address in C++ hacking game code? [closed]

I have this code that edits addresses in a game to get unlimited ammo and what not, and I found out that the addresses are different for every computer, sometimes every time you restart the game, so how would I manage making this work still even though they change.

like image 641
H4cKL0rD Avatar asked Dec 01 '22 07:12

H4cKL0rD


2 Answers

Signature matching for the record contents in the heap. Maybe using edit distance against specific known content.

No harm I'm answering, since you had to ask, you probably don't have the chops to pull it off.

like image 103
paxos1977 Avatar answered Dec 09 '22 11:12

paxos1977


If you get the address you're looking for, and then search for that address in memory to find the address of the pointer to that data, and then search for that address in memory so you can find the address of the pointer to it, and so on, you may eventually find an address that does not change. Then, at runtime, you can use that as a starting point and dereference it to find the location you're looking for. Of course, that all depends on how the data is laid out internally. It can get very complicated.

like image 43
Simon Broadhead Avatar answered Dec 09 '22 11:12

Simon Broadhead