Let's say I *know* exactly where the casual cracker will patch some bytes in my program. And I want to write a patch detection routine. How would this be done?
For instance, let's assume I have a nag MessageBox. And I am almost sure they will NOP the call to the MessageBox. How can I test the bytes at the address of the CALL to the MessageBox for 90's (nop's)?
That's what I want to do. If you have another method of detecting a "patch", I am open minded! :)
Thanks. And simple sample code is always a plus for me. Just use the MessageBox as an example (no MFC).