Day 24 solved (forgot to push)

This commit is contained in:
Roman Hergenreder 2020-01-10 21:03:58 +01:00
parent b20d9ec51d
commit 5b373c24ad
3 changed files with 6 additions and 0 deletions

Binary file not shown.

6
Day 24/decode.py Normal file

@ -0,0 +1,6 @@
BUFFER = list(bytes.fromhex("09BC313A681AAB7247867EE64A1D6F042E74500D78063E"))
with open("rom.bin", "rb") as f:
BUFFER2 = list(f.read(len(BUFFER)))
print("".join(chr(BUFFER[i] ^ BUFFER2[i]) for i in range(len(BUFFER))))

BIN
Day 24/rom.bin Normal file

Binary file not shown.