Changing text in binary files

0

While looking inside a binary file in a text editor, I came across some readable text. I have executed the binary before, and know that the readable text is echoed on screen. Is it possible to remove or change some of the text without corrupting the binary file?

Example:

example binary file

Krii

Posted 2015-12-03T00:32:13.037

Reputation: 353

Answers

1

Yes, as long as the change you want to make is of identical length.

Also, you must use an appropriate editor for binary....a standard text editor will not work.

If you are Linux based, my favorite is bvi....vi interface with both text and numeric content. Replacement is character by character.

mdpc

Posted 2015-12-03T00:32:13.037

Reputation: 4 176

Does Notepad++ count as standard? – Krii – 2015-12-03T00:37:31.093

@Krii Np++ isn't a binary editor. – Insane – 2015-12-03T00:39:20.177