0
Thanks

A few words of thanks would be greatly appreciated.

Change variable name in compiled .exe

Change variable name in compiled .exe

Issue

I would like to know how to modify a variable in an already compiled exe. A variable of type string. For example, an exe "patch" another exe for example, changing a variable named: username. I know it's possible, I found a source code in vb. But here I just want an algorithm to be able to do it again, and I do not know how to do it.

Solution

If your program uses a string on the stack, it must be such in the file. He will just have to edit the file and replace the string. A simple sed or tr enables you to do that.

Note

Solved by Char Snipeur

0
Thanks

A few words of thanks would be greatly appreciated.

Ask a question
CCM is a leading international tech website. Our content is written in collaboration with IT experts, under the direction of Jean-François Pillou, founder of CCM.net. CCM reaches more than 50 million unique visitors per month and is available in 11 languages.
This document, titled « Change variable name in compiled .exe », is available under the Creative Commons license. Any copy, reuse, or modification of the content should be sufficiently credited to CCM (ccm.net).