Hackvent_2018/Day 18/decode.py
Roman Hergenreder 6df7db7cb7 Whatver
2018-12-20 14:52:00 +01:00

13 lines
405 B
Python

#!/usr/bin/python
evilEvent = [-83, 8, 119, 19, 73, 17, 2, 83, 126, 17, 33, 119, 115, 6, 38, 16, 26, 23, 10, 127, 20, 85, 81, 47, 13, 88, 43, 0, 70, 27, -122, 8, 83, 17, 125, 46, 78, 64, 89, 78, 41]
evilAction = [-64, 15, 15, 10, 82, 79, 76, 67, 76]
# ascii = ''.join([chr(x + 128) for x in data])
print(len(data))
# f = open('output.bin', 'wb')
# f.write(bytes([x + 128 for x in data]))
# f.close()