去年参加过一次 CTF 线上比赛,很小型的那种,当时参加的人数也不多,好像只有 20 来人吧,做编码题的时候遇到一些比较有趣的编码题,我之前是没有接触过的,那时为了节省时间就放弃了,但是我把题目保存了下来,最近在清理磁盘旧文件的时候找了当时保存的题目,在这记录一下
# 佛日编码
佛曰:藝怖涅侄度冥蘇涅即老即皤楞皤穆呐老帝地怯室奢能諳所知蘇呐婆瑟特呐滅奢他俱曳諦迦梵一怯至罰羯爍智俱參地怯他奢故多梵輸俱耶漫哆寫怖呼奢曰俱彌世冥薩上皤知迦實諦沙盧想醯伽蒙罰夢若侄實諳世皤波苦般諳地冥室諳多道奢菩地罰特曳依世皤參梵利死怯殿諳故諳遠梵藝瑟皤摩俱訶道罰謹哆亦諳摩他耶迦哆死故等瑟梵隸冥涅醯羯俱呼迦爍皤即所皤羯怯除奢勝哆他心密侄迦梵集俱朋怯至蘇奢呼怯呼諳遮不俱醯諳心蒙遮罰陀怯勝地皤世缽遮彌等遠罰喝有寫豆哆有諳。菩彌梵等罰尼冥是道楞蘇迦諳夢梵陀盡竟三南是室得沙豆哆滅哆三冥穆冥上上缽死梵故恐隸怯諸奢羅訶呐夢謹至明曳阿有怯呼呐藐死冥豆娑伽呐訶梵槃皤不冥婆孕侄特俱智冥數罰婆究倒闍等至冥離缽所蒙怯佛罰真諳般曰利罰南滅冥婆蘇梵尼槃冥涅沙盡罰亦梵謹罰姪侄得世俱摩侄楞呐能智朋呐跋夜皤若冥室罰耶恐諳得怯諸知怯輸真道呐娑無缽故俱故蒙參梵上老俱不摩切俱勝呐藐依苦槃缽摩知奢闍罰地梵波罰得哆藐梵怖奢苦冥楞俱怖怛怯利呐伊醯冥故皤至侄蒙醯麼耨哆都所侄盡缽是諳有哆道俱阿俱勝苦僧罰老諳所皤怛怯等奢道冥者俱不罰是羅奢盧舍梵夢朋夜侄耶彌謹哆依喝明婆瑟切呐輸呐輸侄所奢豆竟諳呼諳遮罰能亦盧夢故得哆竟無槃奢真缽夢怯吉跋皤姪喝侄真藝槃所漫依大夢哆寫怖怖罰帝遠他尼梵上呐逝冥薩奢喝皤滅侄智缽有諳恐諳竟
我当时看到这道题的时候是有点懵逼的,我第一感觉是这题可能是从圣经上拿出来的,因为它看上去不是乱码,所以我首先排除编码问题,因为之前没有接触过中文加密的题目,我当时没有任何解题的思路
# 解密
通过百度发现这是一道通过佛日加密的编码题,解密地址 http://www.keyfc.net/bbs/tools/tudoucode.aspx{http://www.keyfc.net/bbs/tools/tudoucode.aspx}
解密后发现是一串摩斯密码,这个就简单多了
.. -... ..- ..- --.- .--. -... -- .--. -. .--- -.. -.-. - -.-. ... -. . --... ..- .- ..- -... --.- -. ..... -.-- .-- -.-. ...- -.. .... --. --.- ...- .-- --.- --- ..--- .. |
这串摩斯密码解密出来后是一串长度为 40 位的字母和数字字符
ibuuqpbmpnjdctcsne7uaubqn5ywcvdhgqvwqo2i |
但是这个看起来并不像是 flag, 经测试发现 base32 还可以对其解密
解密后的密文是 @iH<,{R1LRi?@P0oqaTg4+h;H
最后用 base91 对其再次解密得到最后的 Flag 值
flag{tianxiashinide}
# 二进制编码
1111111011110001111110010001110000110111101101110001001000000001100111111001000011101001101111111100000101110010111111011001011010010001100111000101000101100001100001000011101010100100010100000110111010100000001111001011001000011110010111011100110110000000011110101111101000111011011010111011011101000010011101001010010101101001000001110000101010010011011001011100011101011000000101011101101110100010111100100010110000101111111001010101111110000101111110101111101100000110010010101110110000010111110111000101001101111100010111101001100000111100010001001111011100011110100010010000011111111010101010101010101010101010101010101010101010101010101010101010101010101010101010101111111000000001001110000001101111001011000101101110010001111011111100011110010001110001111010000000000000111010100100010011110010111001111111110111011100100000011011111110110010011010111000001111001111101010100100010000110000110101001011110101011101111100000011001101101100010100011011011001100001101000110111101110100101100100011011001011000010111000111101111100001110110100111110001111100101100000101111001101011001110011000011000110010010101001011110110010011100100111000100100011011000010000111001000111001010001000111111000010011001111110011010100001101001100001101001101001011101011100011001101011110000100010100100101001010010001011001110010110110100110101110001110100111101010100101110111110000010100100110100011100001001110011011000000110110100001110010011001011110110011110111100111000001110011011010001000101010110010110011010010000000110010000011110011110011110100101111100111101001010000000111111011111000010110000010011110111001111101010000100100110001101100101101100000101110101010110011001110011000010010100010000011001100110000010100110000110000011011001001010001100000111000110000111101110001100000101101010001000001101111100100001100001100111011111111110011011011001100100001100101111101101001100001110100001001001010001111001111101001010110110010100010010110100010111111110100111010100111010010001100100010100011010010000010000110010101001010110110110101011010111001000010100001100010110000010110000100111011000111100011100001100011111111010011011101010010001111110111101011010111101000101010001110111100111011101000001010111101111100001111100001000111001000010100100100001010100110010011010001001010100001011111111010110000101011000110010011010101000001111000100010000100001110100001101110111100111101011000001000011101011100000010110111011110101110011110100110110010010010010010100000110010100110100110100110100100100111110101001011111010110101010000010010011000111110000000111000111101001010101110110110001111110101110001110110000001001101100101000011001001100111000000100100111100000100000101110000101111000100001101011101001100101001000001011011100011011111000010110100110100111001110100100000110001100110111010011100110101011000011001101111000010001011111010101110010010010101110000011010111000011000110110101100101111110101110101101110110011011011001000000000010111010011101101001011111010000101100111100011110011010011000110110000110100110001111100100000011010001111100100001110011111001010011011010000111011111111001000001000010001010111110110101010110010011011111111010011000011010010010011111101011001100010111110010100111010010010001010111011001001110100001000100101010010100001100010100010010110110101110000101111100101110101010100100100011111011101110101010110110001110001110101110101011110011000100101100110010111101110100011101101001101101110011110001000100001011110100101011000100010011111110101001110100100100100011111110111101001111111110001111101001100011000001100011111111001011101010101011100010001110101011010001110110110011101001110000110011100001110101100001011000110110011111011010010001110000011010010110011011001110100000111110010011111101100001011111110111000111101100011111001101001101101101111010000101111110010100011110101100100111111100011100000011110011001111100100010110101100111110010011010111111100110010100001101111001100010100100100001000010110010111100001101101101001100110100011110000101010000110111111000100001010110011010110010011011000010100011101001001110111001001001100100001111100111001111111101111100001101011000011110011001001011111000010101010011101011110000100001101101011000110001010011001001111101000011111101010001100001111110011101010000010101011101000111010000011011010110100110100110010110000111000110001000011000000001110000011111010100010101010101011100011101111000010001111111100001101011000001101011111111101000101101110000100011110110110110111001111100110110000101110110001010011111001000000110101010001110010100000010001010010110011001010000000010110100000100001101001010111000011010101000100111000010111001001100010101110010011011110111010100010010001010010100000000001100011100001000101001101011111011000110000101010000010000100010111001011000001001011011100110110101000010100111101001110111010111010101001011111100011111101100010101101011100000011111101100001111000111000111010100101100111110010101101100110000100000111101110100110001011101010000001000110010000101111010010100011110001110110101000000010110101001100010110110110100111111010110110000000000010101100000110001100100100100100101101110011001101101000001111011100101110010011100001100011010110000111010110000100111001011101111101100011010101110111110010100111100011101110001010000100000101111010100101111110101010011010001000001100001010000001001101100011011010010110011100010011010001100001111001010001001111001111110011100100010100110111001101000011100000101101110111001100000100001001110110010000100011001000110000011011011101111110011101100011100011111000000101001101011100011101011101011001000010000001011011110110101111101110110110111001111000100101011011101010101100000111001110001111001100000101110001000110011001101000011010100001011000010111011010110111001000011110101001111010110000100000110100111110001101011111010010111111111011000100001100111001011111101011000001100011000001111111000001010001001010111100110011111001000111000110101110000011111100010101100101100000110101110001110111111010100011001111111111101001101011100110110000101011111010101101001011110100000011101010100110011100011010110000111110001101110001000100001111001110101001000100011100001101010100111100010001100011111101011000001011101011011111110010001000100001111101111111110000101100000100001011111101111110101100010011011110100110001101011110000010110111101010110000001111110011010011110111011011101111101110110100110101000010011110001001001101000100100011010011111100010011000111101111010000011000011010101010110011111011101101110000100001000101010110100011101001010010011011001001010010000101100010000000111001101001010111100100001111000000010011111010010011011010111000111000000101010011001000000000011101111000100101110000110010010000001000110001000000111100011101011100010101000001100101111100000101011101010101110101101000110111100111011001010110010011111000010011111101010001101111000000110100000110111111010010001110001100011101110001001010010111000111100100000111100000111011111101100101000010001000001001010110111000111010100101001001001100111111111001100001111100100111101000101100011100110010010011011110101001100001100000000111100011111001100101111101011100001100011011011000101100000011000101110000001010110110010000011010011001111110101000101000111001010110011000001110011010000101011110101101011111010111101011110010011001101000100101110010011100000010011111101110110010111101101011011001010111000101000010101011011000101101100110101110001001111101001111101001010001010110001110110111010100101000101100010000010100010010100110000110110011011011010001101110011011001100101101110001110111011011100001110010101111110100111111011001101011001100011110000011000000110011001101001000011001011101010011011101110000110001010000110001010000110110000101101010111110111110100100110001010011001110001010110101100111010110110110100010000001010110110110111000011111101010000101110000100010010010110101011111000010010000001110000100011001010110101100000000111000101001100010110111101100011110001000010101101110101111110001101001101111110110110111111011101000010011011011000011100011001111111000111110100101011011101101001011101110000111100100111100001001101000000010100000110001111110111010011111111011000101001000100010000010100010001011011101001010110010111010000011100011101011111011001110110110111010000001100000010001110100011010110100000011000110000110101110001001000010000000011001111010101010011000111010100101011111110101000111010010001100111111100001001011111100111101000100011001100111101011101000111101010000001110100010111110111100101101111001001101001111101000101111011101111000111110101010111000010100111111111101100000000111101101111001011001110100011000000010001000100001010001001011000001011111000101000100111111111001111111011001011100001010101001010101010000010010111010100011101010000101100100101011011100000100110000001000010011110111000100000111000110011001000100010111000010110101101011010001001110111010110101101100011010101000111111111011010101010000010011111010010010111111011001111111110101011101011001100011100001110110111101110100001001100111110100100101001111011000111011100011110001101110101010110011111100000100001000111010011010001001001110000011001011101001110110101101100100110000010010010011000011101101111111111101010101111011001011101100001110000111000100001010111100011111111000001011111111010111011100011010100100011010111001101001111001000111000100111110001011011
这一大串的 0 和 1 把当时的我给看懵逼了,后来百度了一下跟二进制有关的 CTF 编码题,基本可以确定这是一道 QR Code 的编码
用 python 把这串二维码转换成矩阵图
from PIL import Image | |
MAX = 97 | |
pic = Image.new("RGB",(MAX,MAX)) | |
str ="1111111011110001111110010001110000110111101101110001001000000001100111111001000011101001101111111100000101110010111111011001011010010001100111000101000101100001100001000011101010100100010100000110111010100000001111001011001000011110010111011100110110000000011110101111101000111011011010111011011101000010011101001010010101101001000001110000101010010011011001011100011101011000000101011101101110100010111100100010110000101111111001010101111110000101111110101111101100000110010010101110110000010111110111000101001101111100010111101001100000111100010001001111011100011110100010010000011111111010101010101010101010101010101010101010101010101010101010101010101010101010101010101111111000000001001110000001101111001011000101101110010001111011111100011110010001110001111010000000000000111010100100010011110010111001111111110111011100100000011011111110110010011010111000001111001111101010100100010000110000110101001011110101011101111100000011001101101100010100011011011001100001101000110111101110100101100100011011001011000010111000111101111100001110110100111110001111100101100000101111001101011001110011000011000110010010101001011110110010011100100111000100100011011000010000111001000111001010001000111111000010011001111110011010100001101001100001101001101001011101011100011001101011110000100010100100101001010010001011001110010110110100110101110001110100111101010100101110111110000010100100110100011100001001110011011000000110110100001110010011001011110110011110111100111000001110011011010001000101010110010110011010010000000110010000011110011110011110100101111100111101001010000000111111011111000010110000010011110111001111101010000100100110001101100101101100000101110101010110011001110011000010010100010000011001100110000010100110000110000011011001001010001100000111000110000111101110001100000101101010001000001101111100100001100001100111011111111110011011011001100100001100101111101101001100001110100001001001010001111001111101001010110110010100010010110100010111111110100111010100111010010001100100010100011010010000010000110010101001010110110110101011010111001000010100001100010110000010110000100111011000111100011100001100011111111010011011101010010001111110111101011010111101000101010001110111100111011101000001010111101111100001111100001000111001000010100100100001010100110010011010001001010100001011111111010110000101011000110010011010101000001111000100010000100001110100001101110111100111101011000001000011101011100000010110111011110101110011110100110110010010010010010100000110010100110100110100110100100100111110101001011111010110101010000010010011000111110000000111000111101001010101110110110001111110101110001110110000001001101100101000011001001100111000000100100111100000100000101110000101111000100001101011101001100101001000001011011100011011111000010110100110100111001110100100000110001100110111010011100110101011000011001101111000010001011111010101110010010010101110000011010111000011000110110101100101111110101110101101110110011011011001000000000010111010011101101001011111010000101100111100011110011010011000110110000110100110001111100100000011010001111100100001110011111001010011011010000111011111111001000001000010001010111110110101010110010011011111111010011000011010010010011111101011001100010111110010100111010010010001010111011001001110100001000100101010010100001100010100010010110110101110000101111100101110101010100100100011111011101110101010110110001110001110101110101011110011000100101100110010111101110100011101101001101101110011110001000100001011110100101011000100010011111110101001110100100100100011111110111101001111111110001111101001100011000001100011111111001011101010101011100010001110101011010001110110110011101001110000110011100001110101100001011000110110011111011010010001110000011010010110011011001110100000111110010011111101100001011111110111000111101100011111001101001101101101111010000101111110010100011110101100100111111100011100000011110011001111100100010110101100111110010011010111111100110010100001101111001100010100100100001000010110010111100001101101101001100110100011110000101010000110111111000100001010110011010110010011011000010100011101001001110111001001001100100001111100111001111111101111100001101011000011110011001001011111000010101010011101011110000100001101101011000110001010011001001111101000011111101010001100001111110011101010000010101011101000111010000011011010110100110100110010110000111000110001000011000000001110000011111010100010101010101011100011101111000010001111111100001101011000001101011111111101000101101110000100011110110110110111001111100110110000101110110001010011111001000000110101010001110010100000010001010010110011001010000000010110100000100001101001010111000011010101000100111000010111001001100010101110010011011110111010100010010001010010100000000001100011100001000101001101011111011000110000101010000010000100010111001011000001001011011100110110101000010100111101001110111010111010101001011111100011111101100010101101011100000011111101100001111000111000111010100101100111110010101101100110000100000111101110100110001011101010000001000110010000101111010010100011110001110110101000000010110101001100010110110110100111111010110110000000000010101100000110001100100100100100101101110011001101101000001111011100101110010011100001100011010110000111010110000100111001011101111101100011010101110111110010100111100011101110001010000100000101111010100101111110101010011010001000001100001010000001001101100011011010010110011100010011010001100001111001010001001111001111110011100100010100110111001101000011100000101101110111001100000100001001110110010000100011001000110000011011011101111110011101100011100011111000000101001101011100011101011101011001000010000001011011110110101111101110110110111001111000100101011011101010101100000111001110001111001100000101110001000110011001101000011010100001011000010111011010110111001000011110101001111010110000100000110100111110001101011111010010111111111011000100001100111001011111101011000001100011000001111111000001010001001010111100110011111001000111000110101110000011111100010101100101100000110101110001110111111010100011001111111111101001101011100110110000101011111010101101001011110100000011101010100110011100011010110000111110001101110001000100001111001110101001000100011100001101010100111100010001100011111101011000001011101011011111110010001000100001111101111111110000101100000100001011111101111110101100010011011110100110001101011110000010110111101010110000001111110011010011110111011011101111101110110100110101000010011110001001001101000100100011010011111100010011000111101111010000011000011010101010110011111011101101110000100001000101010110100011101001010010011011001001010010000101100010000000111001101001010111100100001111000000010011111010010011011010111000111000000101010011001000000000011101111000100101110000110010010000001000110001000000111100011101011100010101000001100101111100000101011101010101110101101000110111100111011001010110010011111000010011111101010001101111000000110100000110111111010010001110001100011101110001001010010111000111100100000111100000111011111101100101000010001000001001010110111000111010100101001001001100111111111001100001111100100111101000101100011100110010010011011110101001100001100000000111100011111001100101111101011100001100011011011000101100000011000101110000001010110110010000011010011001111110101000101000111001010110011000001110011010000101011110101101011111010111101011110010011001101000100101110010011100000010011111101110110010111101101011011001010111000101000010101011011000101101100110101110001001111101001111101001010001010110001110110111010100101000101100010000010100010010100110000110110011011011010001101110011011001100101101110001110111011011100001110010101111110100111111011001101011001100011110000011000000110011001101001000011001011101010011011101110000110001010000110001010000110110000101101010111110111110100100110001010011001110001010110101100111010110110110100010000001010110110110111000011111101010000101110000100010010010110101011111000010010000001110000100011001010110101100000000111000101001100010110111101100011110001000010101101110101111110001101001101111110110110111111011101000010011011011000011100011001111111000111110100101011011101101001011101110000111100100111100001001101000000010100000110001111110111010011111111011000101001000100010000010100010001011011101001010110010111010000011100011101011111011001110110110111010000001100000010001110100011010110100000011000110000110101110001001000010000000011001111010101010011000111010100101011111110101000111010010001100111111100001001011111100111101000100011001100111101011101000111101010000001110100010111110111100101101111001001101001111101000101111011101111000111110101010111000010100111111111101100000000111101101111001011001110100011000000010001000100001010001001011000001011111000101000100111111111001111111011001011100001010101001010101010000010010111010100011101010000101100100101011011100000100110000001000010011110111000100000111000110011001000100010111000010110101101011010001001110111010110101101100011010101000111111111011010101010000010011111010010010111111011001111111110101011101011001100011100001110110111101110100001001100111110100100101001111011000111011100011110001101110101010110011111100000100001000111010011010001001001110000011001011101001110110101101100100110000010010010011000011101101111111111101010101111011001011101100001110000111000100001010111100011111111000001011111111010111011100011010100100011010111001101001111001000111000100111110001011011" | |
i=0 | |
for y in range(0,MAX,1): | |
for x in range(0,MAX,1): | |
if (str[i] == '1'): | |
pic.putpixel([x,y],(0,0,0)) | |
else: | |
pic.putpixel([x,y],(255,255,255)) | |
i = i+1 | |
pic.show() | |
pic.save("flag.png") |
转换后果然是一个二维码,用在线二维码识别网站扫描一下图片查看内容
识别后是一串 bash 加密的密文
OTctMyAxLTMgMS0zIDMtMiAzLTIgMy0yIDEtMiAxLTUgMS0yIDEtMyAzLTIgOTctMyAzLTIgOTQtMSAxLTUgNC0yIDQtMiA0LTIgNC0yIDk3LTMgMS0zIDMtMiA0LTIgMS01IDMtMiA0LTIgMy0yIDMtMiAzLTIgNC0yIDk3LTMgMy0yIDEtNSAxLTUgMy0yIDEtMyA0LTIgNC0yIDEtMiAzLTIgMS0zIDQtMiA0LTIgNC0yIDMtMiA5NC0xIDEtMyAxLTMgMS0zIDMtMiA\zLTIgMS0zIDk0LTEgMS0zIDk0LTEgNC0yIDMtMiAxLTIgOTctMyA5Ny0zIDEtMw=
通过 base64 解密后得到一串数字
97-3 1-3 1-3 3-2 3-2 3-2 1-2 1-5 1-2 1-3 3-2 97-3 3-2 94-1 1-5 4-2 4-2 4-2 4-2 97-3 1-3 3-2 4-2 1-5 3-2 4-2 3-2 3-2 3-2 4-2 97-3 3-2 1-5 1-5 3-2 1-3 4-2 4-2 1-2 3-2 1-3 4-2 4-2 4-2 3-2 94-1 1-3 1-3 1-3 3-2 3-2 1-3 94-1 1-3 94-1 4-2 3-2 1-2 97-3 97-3 1-3
Google 了一下说是二维码的坐标,这个二维码矩阵是 97 * 97, 这里最大的数字是 97,好像确实是坐标,用 python 把这串二进制以 97 * 97 的矩阵打印出来
str ="1111111011110001111110010001110000110111101101110001001000000001100111111001000011101001101111111100000101110010111111011001011010010001100111000101000101100001100001000011101010100100010100000110111010100000001111001011001000011110010111011100110110000000011110101111101000111011011010111011011101000010011101001010010101101001000001110000101010010011011001011100011101011000000101011101101110100010111100100010110000101111111001010101111110000101111110101111101100000110010010101110110000010111110111000101001101111100010111101001100000111100010001001111011100011110100010010000011111111010101010101010101010101010101010101010101010101010101010101010101010101010101010101111111000000001001110000001101111001011000101101110010001111011111100011110010001110001111010000000000000111010100100010011110010111001111111110111011100100000011011111110110010011010111000001111001111101010100100010000110000110101001011110101011101111100000011001101101100010100011011011001100001101000110111101110100101100100011011001011000010111000111101111100001110110100111110001111100101100000101111001101011001110011000011000110010010101001011110110010011100100111000100100011011000010000111001000111001010001000111111000010011001111110011010100001101001100001101001101001011101011100011001101011110000100010100100101001010010001011001110010110110100110101110001110100111101010100101110111110000010100100110100011100001001110011011000000110110100001110010011001011110110011110111100111000001110011011010001000101010110010110011010010000000110010000011110011110011110100101111100111101001010000000111111011111000010110000010011110111001111101010000100100110001101100101101100000101110101010110011001110011000010010100010000011001100110000010100110000110000011011001001010001100000111000110000111101110001100000101101010001000001101111100100001100001100111011111111110011011011001100100001100101111101101001100001110100001001001010001111001111101001010110110010100010010110100010111111110100111010100111010010001100100010100011010010000010000110010101001010110110110101011010111001000010100001100010110000010110000100111011000111100011100001100011111111010011011101010010001111110111101011010111101000101010001110111100111011101000001010111101111100001111100001000111001000010100100100001010100110010011010001001010100001011111111010110000101011000110010011010101000001111000100010000100001110100001101110111100111101011000001000011101011100000010110111011110101110011110100110110010010010010010100000110010100110100110100110100100100111110101001011111010110101010000010010011000111110000000111000111101001010101110110110001111110101110001110110000001001101100101000011001001100111000000100100111100000100000101110000101111000100001101011101001100101001000001011011100011011111000010110100110100111001110100100000110001100110111010011100110101011000011001101111000010001011111010101110010010010101110000011010111000011000110110101100101111110101110101101110110011011011001000000000010111010011101101001011111010000101100111100011110011010011000110110000110100110001111100100000011010001111100100001110011111001010011011010000111011111111001000001000010001010111110110101010110010011011111111010011000011010010010011111101011001100010111110010100111010010010001010111011001001110100001000100101010010100001100010100010010110110101110000101111100101110101010100100100011111011101110101010110110001110001110101110101011110011000100101100110010111101110100011101101001101101110011110001000100001011110100101011000100010011111110101001110100100100100011111110111101001111111110001111101001100011000001100011111111001011101010101011100010001110101011010001110110110011101001110000110011100001110101100001011000110110011111011010010001110000011010010110011011001110100000111110010011111101100001011111110111000111101100011111001101001101101101111010000101111110010100011110101100100111111100011100000011110011001111100100010110101100111110010011010111111100110010100001101111001100010100100100001000010110010111100001101101101001100110100011110000101010000110111111000100001010110011010110010011011000010100011101001001110111001001001100100001111100111001111111101111100001101011000011110011001001011111000010101010011101011110000100001101101011000110001010011001001111101000011111101010001100001111110011101010000010101011101000111010000011011010110100110100110010110000111000110001000011000000001110000011111010100010101010101011100011101111000010001111111100001101011000001101011111111101000101101110000100011110110110110111001111100110110000101110110001010011111001000000110101010001110010100000010001010010110011001010000000010110100000100001101001010111000011010101000100111000010111001001100010101110010011011110111010100010010001010010100000000001100011100001000101001101011111011000110000101010000010000100010111001011000001001011011100110110101000010100111101001110111010111010101001011111100011111101100010101101011100000011111101100001111000111000111010100101100111110010101101100110000100000111101110100110001011101010000001000110010000101111010010100011110001110110101000000010110101001100010110110110100111111010110110000000000010101100000110001100100100100100101101110011001101101000001111011100101110010011100001100011010110000111010110000100111001011101111101100011010101110111110010100111100011101110001010000100000101111010100101111110101010011010001000001100001010000001001101100011011010010110011100010011010001100001111001010001001111001111110011100100010100110111001101000011100000101101110111001100000100001001110110010000100011001000110000011011011101111110011101100011100011111000000101001101011100011101011101011001000010000001011011110110101111101110110110111001111000100101011011101010101100000111001110001111001100000101110001000110011001101000011010100001011000010111011010110111001000011110101001111010110000100000110100111110001101011111010010111111111011000100001100111001011111101011000001100011000001111111000001010001001010111100110011111001000111000110101110000011111100010101100101100000110101110001110111111010100011001111111111101001101011100110110000101011111010101101001011110100000011101010100110011100011010110000111110001101110001000100001111001110101001000100011100001101010100111100010001100011111101011000001011101011011111110010001000100001111101111111110000101100000100001011111101111110101100010011011110100110001101011110000010110111101010110000001111110011010011110111011011101111101110110100110101000010011110001001001101000100100011010011111100010011000111101111010000011000011010101010110011111011101101110000100001000101010110100011101001010010011011001001010010000101100010000000111001101001010111100100001111000000010011111010010011011010111000111000000101010011001000000000011101111000100101110000110010010000001000110001000000111100011101011100010101000001100101111100000101011101010101110101101000110111100111011001010110010011111000010011111101010001101111000000110100000110111111010010001110001100011101110001001010010111000111100100000111100000111011111101100101000010001000001001010110111000111010100101001001001100111111111001100001111100100111101000101100011100110010010011011110101001100001100000000111100011111001100101111101011100001100011011011000101100000011000101110000001010110110010000011010011001111110101000101000111001010110011000001110011010000101011110101101011111010111101011110010011001101000100101110010011100000010011111101110110010111101101011011001010111000101000010101011011000101101100110101110001001111101001111101001010001010110001110110111010100101000101100010000010100010010100110000110110011011011010001101110011011001100101101110001110111011011100001110010101111110100111111011001101011001100011110000011000000110011001101001000011001011101010011011101110000110001010000110001010000110110000101101010111110111110100100110001010011001110001010110101100111010110110110100010000001010110110110111000011111101010000101110000100010010010110101011111000010010000001110000100011001010110101100000000111000101001100010110111101100011110001000010101101110101111110001101001101111110110110111111011101000010011011011000011100011001111111000111110100101011011101101001011101110000111100100111100001001101000000010100000110001111110111010011111111011000101001000100010000010100010001011011101001010110010111010000011100011101011111011001110110110111010000001100000010001110100011010110100000011000110000110101110001001000010000000011001111010101010011000111010100101011111110101000111010010001100111111100001001011111100111101000100011001100111101011101000111101010000001110100010111110111100101101111001001101001111101000101111011101111000111110101010111000010100111111111101100000000111101101111001011001110100011000000010001000100001010001001011000001011111000101000100111111111001111111011001011100001010101001010101010000010010111010100011101010000101100100101011011100000100110000001000010011110111000100000111000110011001000100010111000010110101101011010001001110111010110101101100011010101000111111111011010101010000010011111010010010111111011001111111110101011101011001100011100001110110111101110100001001100111110100100101001111011000111011100011110001101110101010110011111100000100001000111010011010001001001110000011001011101001110110101101100100110000010010010011000011101101111111111101010101111011001011101100001110000111000100001010111100011111111000001011111111010111011100011010100100011010111001101001111001000111000100111110001011011" | |
i=0; | |
for i in range(0,len(str),1): | |
if ((i+1) % 97 != 0): | |
print (str[i],end="") | |
else: | |
print (str[i]) |
到这里我就不知道怎么自动去提取对应的数字了,只能是用传统的人工筛选,看了一下,虽然坐标有很多,但是大部分都是相同的,打开两个文本,一个填写二进制的矩阵,一个填写坐标,然后找到坐标对应的数字,全局替换
最后得到长度为 61 位的一串二进制数字
1110001111010110000110010000001011010010100001111001111001111
此时又需要 Google 了,最后得知这竟然是 36 进制的编码,真的第一次遇到啊😂
最终 Flag: flag{j5w2a0o0}