Last active
January 25, 2019 07:06
-
-
Save cokia/aa5c4e91a356e8fd0b418589378e4f36 to your computer and use it in GitHub Desktop.
ROOTCTF 2018 - FORMAT Write up
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
t=bytearray(open("Format.PNG","rb").read()) | |
for i in range(len(t)): | |
if t[i] == 0x10: | |
t[i]=0x00 | |
elif t[i] == 0x00: | |
t[i] = 0x10 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment