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
posted @ 2020-02-23 12:54  10nnn4R  阅读(194)  评论(0编辑  收藏  举报