Posted September 17, 200915 yr I work in c++ at a project and I can say that if someone change a char array with a debugger my app is hacked.How should I protect that array?I was thinking to have more arrays and if I join them(when I need) to result my array. Edited September 17, 200915 yr by wyrda
September 18, 200915 yr checksumming? encrypting the array, so the text isn't so obvious.. the list is pretty limitless and all comes down to how imaginative you are
September 18, 200915 yr Author Let say that I make a MD5 hash(or what ever it is) and every time I use my array I check it, but the cracker couldn't modify also that 'password'?
September 18, 200915 yr Sure you can patch the check against the md5. The pretty safe way is to decrypt something with the checksum of that array so only the right checksum makes the app usable. Not sure how feasible this is for you and how far you want to go 'protecting' your array.Then again, it's possible to predecrypt the data with the original checksum, patch the array, and remove the code for decrypting. It all depends on the implementation really.
September 18, 200915 yr Author Can you give me a little example because it's the firs time I try to protect my apps.
Create an account or sign in to comment