E
E
Elvis2020-08-14 23:20:38
reverse engineering
Elvis, 2020-08-14 23:20:38

How to change string variables to a longer length through the HEX Editor?

Hey!
How to find for example "Hello World" and change it to "Bye World!!" Clearly, here the number of characters is the same. If you need less - then it's also understandable. And how to do if you need to change to "Hello Hello Hello World !!!" Is there another code in there?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Saboteur, 2020-08-14
@saboteur_kiev

I have a problem - how to put a chair meter by meter through a hammer instead of a cabinet meter by meter, I understand, but how can I put a sofa meter by two meters instead of a cabinet meter by meter so that everything fits in?
You still need to understand that a hex editor is just a tool. And it's not about the hex editor, but about the data that you edit somewhere - no one knows if it's possible IN PRINCIPLE to increase the length of the line in your file if it's an executable file.
And the question is not in the hex editor - it's just a tool. The question is in the data itself, which you edit somewhere and about which nothing is said in the question.

1
15432, 2020-08-14
@15432

Find an empty space in the program area (or expand sections), write your line there, fix all references to the line in the code to lead to the right place.
You will need a disassembler and the ability to edit compiled programs.
One HEX editor is not enough here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question