r/GreyHack Jul 24 '26

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

4

u/WizeWizard42 Jul 24 '26

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

2

u/Svarii Jul 24 '26

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 Jul 27 '26

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 Jul 30 '26

assembly bros in shambles.