新手一枚,如有错误(不足)请指正,谢谢!!
<mark>个人博客:点击进入/点击进入</mark>
题目链接:[GWCTF 2019]pyre
下载下来是个pyc文件
使用pyc在线解密对其进行解密
写python脚本……
code = ['\x1f','\x12','\x1d','(','0',
'4','\x01','\x06','\x14','4',
',','\x1b','U','?','o','6',
'*',':','\x01','D',';','%','\x13']
for i in range(len(code)-2,-1,-1):
code[i] = chr(ord(code[i])^ord(code[i+1]))
for i in range(len(code)):
print(chr((ord(code[i])-i)%128),end="")
得到最终flag为GWHT{Just_Re_1s_Ha66y!}