0x01 签到题
#xor ----> 爆破 #coding=utf-8 import base64 miwen=base64.b64decode("aWdxNDs3NDFSOzFpa1I1MWliT09w") mingwen="" for i in xrange(0,128): sign=True for j in miwen: mingwenint=(ord(j)^i) if mingwenint>32 and mingwenint<128: mingwen+=chr(mingwenint) else: sign=False break if sign: if "flag" in mingwen: print mingwen,i