alaphate Posted August 30, 2008 Posted August 30, 2008 The application is a simply messagebox.I can use WinHex to open the exe file, and search and replace "HelloWorld" string.Is there a way to encrypt such string, so that I can not find "HelloWorld" ?Source code:#include <windows.h>int WINAPI WinMain( HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCmdLine, int nShowCmd) { MessageBox(NULL, "HelloWorld", "Title", MB_OK); return 0;}Thanks for helping.
Ziggy Posted August 30, 2008 Posted August 30, 2008 If you just want to stop a simple text string search then XOR encode each character with a fixed value when you store the character string and XOR decode again when you use it. This will stop a casual text string search but won't stop any reasonably experienced cracker.Ziggy
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