python-trade

  1. 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
原文地址:https://www.cnblogs.com/l0nmar/p/12553832.html