python-trade
- https://tool.lu/pyc/在线反编译pyc
import base64
correct = 'XlNkVmtUI1MgXWBZXCFeKY+AaXNt'
flag = base64.b64decode(correct)
def decode(message):
s = ''
for i in message:
i = chr(i)#在这转换为字符而不是将flag转换为字符串二者有差异
x = ord(i) -16
x= x^32
print(x)
s+=chr(x)
return s
[博客内容只是本人学习过程记录的笔记,不保证质量.本人不保证技术的实用性,一切文章仅供参考,如有谬错,请留言.]