Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
12 lines (8 sloc) 520 Bytes
flag = [0x54,0x68,0x69,0x73,0x20,0x70,0x72,0x6F,0x67,0x72,0x61,0x6D,0x20,0x63,0x61,0x6E,0x6E,0x6F,0x74,0x20,0x62,0x65,0x20,0x72,0x75,0x6E,0x20,0x69,0x6E,0x20,0x44,0x4F,0x53,0x20,0x6D,0x6F,0x64,0x65]
buffer = [0x12,0x24,0x28,0x34,0x5B,0x23,0x26,0x20,0x35,0x37,0x4C,0x28,0x76,0x26,0x33,0x37,0x3A,0x27,0x3D,0x6E,0x25,0x48,0x6F,0x3C,0x58,0x3A,0x68,0x2C,0x43,0x73,0x10,0x0E,0x10,0x6B,0x10,0x6F]
final = ""
for x in range(0,36):
print (buffer[x])
print (flag[x])
final += hex(buffer[x] ^ flag[x])
print (final)