csaw密码

题目:AAoHAR1TIiIkUFUjUFQgVyInVSVQJVFRUSNRX1YgXiJSVyJQVRs=

写python脚本:

import base64
ciphertext="AAoHAR1TIiIkUFUjUFQgVyInVSVQJVFRUSNRX1YgXiJSVyJQVRs="
cipher=base64.b64decode(ciphertext)
for i in range(0,256):
    result=""
    for s in cipher:
        result+=chr(ord(s)^i)
    if "flag" in result:
        print result

 

flag{5DDB63E62F1DA3C6C777E790F8D41D63}

posted @ 2020-11-19 22:43  kalibb  阅读(234)  评论(0)    收藏  举报