下载附件,发现压缩包里有hint
看来是需要python脚本来解题了,根据提示,压缩包的密码应该就是压缩包名称
附上脚本
import zipfile
name = '(同一路径下的压缩包名称)'
while True:
fz = zipfile.ZipFile(name + '.zip', 'r')
fz.extractall(pwd=bytes(name, 'utf-8'))
name = fz.filelist[0].filename[0:4]
fz.close()
找到在文件夹中运行出的qr.zip,打开压缩包中的文档
发现是rgb数据,用脚本转换成图片
from PIL import Image
x = y = 200
img = Image.new("RGB",(x,y))
file = open('qr.txt','r')
for width in range(0,x):
for height in range(0,y):
line = file.readline()
rgb = line.replace('(','').replace(')','').split(',')
img.putpixel((width,height),(int(rgb[0]),int(rgb[1]),int(rgb[2])))
img.save('flag.jpg')
得到二维码
扫描得到flag
flag{ta01uyout1nreet1n0usandtimes}


![BUUCTF misc 专题(88)[MRCTF2020]千层套路 BUUCTF misc 专题(88)[MRCTF2020]千层套路](http://www.mshxw.com/aiimages/31/932441.png)
