BMZCTF:2018 护网杯 迟来的签到题
作者:互联网
http://bmzclub.cn/challenges#2018%20%E6%8A%A4%E7%BD%91%E6%9D%AF%20%E8%BF%9F%E6%9D%A5%E7%9A%84%E7%AD%BE%E5%88%B0%E9%A2%98
题目描述
easy xor???
task_2.txt
AAoHAR1TIiIkUFUjUFQgVyInVSVQJVFRUSNRX1YgXiJSVyJQVRs=
import string
from base64 import *
flag = ''
codestr = b64decode('AAoHAR1TIiIkUFUjUFQgVyInVSVQJVFRUSNRX1YgXiJSVyJQVRs=')
for char in string.printable:
for num in codestr:
flag += chr(ord(char)^num)
print(flag)
flag{5DDB63E62F1DA3C6C777E790F8D41D63}
标签:string,签到,E6%,E7%,char,flag,2018,import,护网杯 来源: https://blog.csdn.net/mochu7777777/article/details/111143454