【愚公系列】2021年11月 攻防世界-进阶题-MISC-048(适合作为桌面)
【摘要】 一、适合作为桌面题目链接:https://adworld.xctf.org.cn/task/task_list?type=misc&number=1&grade=1&page=3 二、答题步骤 1.stegsolve 2.winhex这里都是十六进制,然后我们把他复制到 winhex 中,发现是 pyc 编译文件 3.uncompyle6uncompyle6进行文件反编译得到py文件# u...
一、适合作为桌面
题目链接:https://adworld.xctf.org.cn/task/task_list?type=misc&number=1&grade=1&page=3
二、答题步骤
1.stegsolve

2.winhex
这里都是十六进制,然后我们把他复制到 winhex 中,发现是 pyc 编译文件
3.uncompyle6
uncompyle6进行文件反编译得到py文件
# uncompyle6 version 3.4.0
# Python bytecode 2.7 (62211)
# Decompiled from: Python 3.6.2 (v3.6.2:5fd33b5, Jul 8 2017, 04:57:36) [MSC v.1900 64 bit (AMD64)]
# Embedded file name: 1.py
# Compiled at: 2016-10-18 15:12:57
def flag():
str = [102, 108, 97, 103, 123, 51, 56, 97, 53, 55, 48, 51, 50, 48, 56, 53, 52, 52, 49, 101, 55, 125]
flag = ''
for i in str:
flag += chr(i)
print (flag)
flag()
得到flag:flag{38a57032085441e7}
总结
- stegsolve
- winhex
- uncompyle6
【声明】本内容来自华为云开发者社区博主,不代表华为云及华为云开发者社区的观点和立场。转载时必须标注文章的来源(华为云社区)、文章链接、文章作者等基本信息,否则作者和本社区有权追究责任。如果您发现本社区中有涉嫌抄袭的内容,欢迎发送邮件进行举报,并提供相关证据,一经查实,本社区将立刻删除涉嫌侵权内容,举报邮箱:
cloudbbs@huaweicloud.com
- 点赞
- 收藏
- 关注作者
评论(0)