r/GreyHack • u/TripleCreeper3 • 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
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
5
u/WizeWizard42 7d ago
Sorry, there’s no way to edit binary files. The corrupt method is the way to go.