6

I am currently learning and I wanted to ask, how can I change a text (string) from inside an app I am reversing? For example "To begin, please login". I have found the XREF to the string location but I don't know how to change it. I am using Hopper Disassembler on mac.

1 Answer 1

8

You can modify strings or other bytes within the hex editor (⇧⌘H) or click on the hex edit panel.

hexedit panel

Then modify whatever you want

edit bytes You'll need to write a new executable back (⇧⌘E) if you want to save it. Also, be aware that if it is a signed binary, you will need to remove any code signature or resign it as the binary won't match the signature after a change.

2
  • 1
    @cimmaron could you please explain with screen shots. Commented Jun 28, 2017 at 18:04
  • Is it the string length limited?
    – Alice Chan
    Commented Jan 28, 2019 at 10:30

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.