wyrda Posted September 17, 2009 Posted September 17, 2009 (edited) 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, 2009 by wyrda
evlncrn8 Posted September 18, 2009 Posted September 18, 2009 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
wyrda Posted September 18, 2009 Author Posted September 18, 2009 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'?
Killboy Posted September 18, 2009 Posted September 18, 2009 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.
wyrda Posted September 18, 2009 Author Posted September 18, 2009 Can you give me a little example because it's the firs time I try to protect my apps.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now