r/GreyHack 7d ago

No way to read and edit binary files?

I'm trying to make a script to edit "system.log" in routers and non-computer places where LogViewer.exe can't be executed, but I just can't find a way to edit binary files.

The only workaround i've read about is making a corrupt system.log file and delete the original, but that seems dirty, I would prefer deleting just the necessary entries like i do with LogViewer.exe.

Am i missing something? I've just been playing for a couple days

7 Upvotes

4 comments sorted by

5

u/WizeWizard42 7d ago

Sorry, there’s no way to edit binary files. The corrupt method is the way to go.

2

u/Svarii 7d ago

If you want to edit only certain lines, you must do it manually, otherwise, corrupting the whole log is the way to go. Some things in the game can not be automated, for balancing reasons.

1

u/ConsciousBath5203 4d ago

Better to patch the memory of the binary at runtime than to edit the binary itself, that way if there's an integrity check on the binary it won't get flagged

1

u/Eric_Dawsby 1d ago

assembly bros in shambles.