Skip to content
Switch branches/tags
Go to file
Cannot retrieve contributors at this time
#!/usr/bin/env python
d = [0x61, 0x70, 0x7f, 0x4a, 0x00, 0x00, 0x08, 0x68, 0x01, 0x11, 0x75, 0x01, 0x56, 0x1d, 0x11, 0x00, 0x00, 0x19, 0x78, 0x11, 0x79, 0x54, 0x50, 0x43, 0x55, 0x11, 0x68, 0x01, 0x44, 0x11, 0x7d, 0x58, 0x5a, 0x54, 0x11, 0x61, 0x72, 0x70, 0x61, 0x62, 0x11, 0x0b, 0x75, 0x00, 0x00, 0x01, 0x4c]
for i in range(0x100):
f = ''
for x in d:
f += chr( x ^ i )
if 'PAN' in f:
print "Flag: " + f
print "Key : " + hex(i)