ChildRe.sb3
1.分析题目
这个文件是sb3后缀 非常得奇怪 拖到如下看看发现zip?
解压后得到这三个文件?
Open all types of files through your browser (openfiles.online)在网上查找相关资料后发现这个网站 把json文件拖到这里面看看
这里有一些我们看不懂得代码 但是那个flag是非常鲜明得 那些数据可能就是要加密的flag什么的
但是我们还有两个文件没有用到
用记事本分别打开看看?说不定能找到有用的信息
我们在这里发现一些网站信息 我们复制看看这些网站是什么?
发现是scratch少儿编程平台 与题目标题是相对应的
进入这个我们就可以分析逻辑了
我们修改一下这里发现这里出现了14?
其实就是26-12
我们又修改一下这个
输入q它发出1
所以我们就可以知道逻辑就是flag[i]-name[j]的值当作alpha[]的下标然后输出flag
因此我们可以写脚本了
2.脚本
alpha=["q","w","e","r","t","y","u","i","o","p","a","s","d","f","g","h","j","k","l","z","x","c","v","b","n","m","Q","W","E","R","T","Y","U","I","O","P","A","S","D","F","G","H","J","K","L","Z","X","C","V","B","N","M","{","}","1","2","0"] name=[12,16,11,25,15,2,3,25,13,11,13,11] flag=[26,35,22,40,68,8,10,51,68,14,21,17,69,23,32,42,32,56] j=0 for i in range(len(flag)): print(alpha[(flag[i]-name[j])-1],end='') j+=1 if j>11: j=0