file = open("misc5.png", "rb") content = file.read() with open("flag.png", "wb") as a: for contents in content: a.write(bytes([contents ^ 0x50]))
file = open("misc5.png", "rb") content = file.read() with open("flag.png", "wb") as a: for contents in content: a.write(bytes([contents ^ 0x50]))