1.easy_pyc
反编译
使用python反编译 - 在线工具反编译得到源代码
#!/usr/bin/env python
# visit https://tool.lu/pyc/ for more information
# Version: Python 2.7
print 'Welcome to CTFshow Re!'
print 'your flag is here!'
flag = ''
l = len(flag)
for i in range(l):
num = ((flag[i] + i) % 114514 + 114514) % 114514
code += chr(num)
code = map(ord, code)
for i in range((l - 4) + 1):
code[i] = code[i] ^ code[i + 1]
print code
code = [
'%16',
'%1d',
'%1e',
'%1a',
'%18',
'\t',
'%ff',
'%d0',
',',
'%03',
'%02',
'%14',
'8',
'm',
'%01',
'C',
'D',
'%bd',
'%f7',
'*',
'\r',
'%da',
'%f9',
'%1c',
'&',
'5',
"'",
'%da',
'%d4',
'%d1',
'%0b',
'%c7',
'%c7',
'%1a',
'%90',
'D',
'%a1']
wp
Python提取一下数据的ASCLL值

博客围绕easy_pyc展开,介绍了使用Python在线工具进行反编译得到源代码,还提到用Python提取数据的ASCLL值,以及C++逆向两段循环,最终得出结果ctfshow{Just_F00l's_D@y_R3_Ch3ck - in!}。

1641

被折叠的 条评论
为什么被折叠?



