Rating: 1.2
```import string
key = """\n\r\006\034\"8\030&6\017\071+\034YB,6\032,&\034\027-9WC\001\a+8\t\a\032\001\027\023\023\027-9\n\r\006F\\}"""
allstr = string.printable
flag = ''
def getNext(a,flag):
for i in allstr:
if ( ord(i) ^ ord(flag[-1]) ) == ord(a):
return i
def run(flag):
try:
# print "start flag = ",flag
for i,val in enumerate(key):
f = getNext(val,flag)
flag += f
print repr(flag)
except:
print "{} ".format(flag)
pass
for i in allstr:
flag = i
run(flag)
```