S
S
SKEPTIC2019-11-08 16:58:28
Programming
SKEPTIC, 2019-11-08 16:58:28

How to make changes to the exe file if I found the instructions and replaced them in OllyDBG?

I wrote a five-line program in C++ and decided to crack it.
In OllyDBG, I found a code check for correctness and changed the code. Everything works in the debugger.
How to make changes to the exe file? I read about some Save executable, but I don’t have such tabs.
Heard about Hex. But there is no instruction address in OllyDBG. I can't find the right instruction in the Hex editor.
Help

Answer the question

In order to leave comments, you need to log in

3 answer(s)
1
12rbah, 2019-11-09
@12rbah

Perhaps IDA Pro will help.

M
mayton2019, 2019-11-09
@mayton2019

In the general case, it is not possible to indiscriminately edit an exe-file as a text editor. The binary contains relative jump addresses and if you just insert or delete at least 1 byte, all jumps further down the code will become invalid. I haven't worked with OllyDBG but I guess the surest way is to get the assembler source. Make changes. And recompile with the same assembler.

P
pfemidi, 2019-11-17
@pfemidi

hiew will save a mortally wounded cat.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question