Switch values to maintain file size

Help on how to use HxD.
Post Reply
CoolFrogDude
Posts: 2
Joined: 04 Dec 2018 09:54

Switch values to maintain file size

Post by CoolFrogDude »

As the title says, I want to switch two values of different sizes in order to maintain file size.
My current method is (A being smaller, and Bbeing larger)
1. A -> unused string of same size
2. B -> A
3. Unused string -> B

The file size at the end of the process is the same but anticheet seems to detect that as a change
Maël
Site Admin
Posts: 1454
Joined: 12 Mar 2005 14:15

Re: Switch values to maintain file size

Post by Maël »

It could be it uses a checksum or hash to validate that the file was not changed.
CoolFrogDude
Posts: 2
Joined: 04 Dec 2018 09:54

Re: Switch values to maintain file size

Post by CoolFrogDude »

Thank you Maël, I have been able to change values before e.g A -> B and it seems to be fine jus tnot if I temporarily change the file size
Post Reply