目录
- 一、拿到题目先干嘛
- 二、具体的解密操作
- 1.把文本放到CyberChef中用Magic解密
- 2.把完整的解密内容复制出来
- 3.打开010并以hex格式粘贴内容
- 4.点一下HEX
- 5.保存成png
- 三、用工具拿到隐写内容
一、拿到题目先干嘛
题目附件是一个txt,打开里面就是各种字符,拿去CyberChef中用Magic解密一下,能看到有得到89504E47开头的结果,复制出来放进010再保存试一试(不要直接从CyberChef里保存成文件,因为我发现直接保存得到的不对,也不要直接粘贴进010,而是要以hex形式粘贴再点一下HEX,有人教教还有别的方法吗?)。
我把文本贴在下面方便大家可以拿去复现:
R61QyPtA3hRX7KmEvcC9R6W7V1Z1oxvcBhC8V5UJbfU9Rw8qQbLEQpZFNMfFo5mKATpukzrCE6mTbqYMoLvrQY9BVQWicRznChMqFzY3JRzPHwYafnDBZamhVpjDEaRDpHkQU2EEt49Xd51HGixt6ofzkd2zCdP1EYPpnq9xSFNjbHJYhFj2nudfrUeSVBgZALrQZGxnXZ3yuxL7dk2B6nfVaSnWWaXmR6sZ2SJNJ2i9a7NarkRftvsD2dLitH1yGUdE5Dj5FVWeTvMDNzXag5qGLoSdoobaKW8P42kSQDTwxUr6nNEHFJrcBioSVWsL4hERGzobkGKJWXxPaqk8q94DRiMXWYiwSUt1b7g3ncyjhLGabNTCoo3CREGFnPLkUsJMjGtiqHuKQhC4a5LfkXw24PJf1bpSSzAWwjXsXLPV6Sa1XYy7Sdt5b9QAiJY3kbYjEahxQwws7UChKzaFAuQMddoC41mEmV6uXHkiTuDkAHnxhiR1VTwkWuyfnppJLsHqS5FDvm1WjqHTkAsUVy1BqLMKU3Nq8sQC6NTGswkkXxc2mBL1rcZTdBEjdRQarLdQpSp63LjiaQr7NZCox1uDiikjohotBQMZU6mnuVgycBPR8VPS9Rk335AqNDmMDD1s6Mf7jj1mTag6LqoP8UXtntpobHH5NDGoxPcVSFtuEDAPYtRDFU3VKTU7jYYpjWc9MXVzs7KrKWXL3Y3pJDyCMFVMfrg6uueXpahZtaevZUL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eX7fBWuNpSrnFFUp6Aw3SY8Y8pETv6Nxw9NdhsNeMD3t1Yt2oEn8otbc9zHGdi3XvL92NaGV43Fw1CPTaMjjhxeXY4RSW9rJD4c59PwyRpvz2D9xNBrNrvN2aQB4r7vbr7PNdBqnhz9Fn5MwTcxm1Sdo53R43uyUmgTGT4mfgyXUWJmUbXdJKWnGf4amsqEUka67oToRjKjA6nYxA4jaaRn3sM5y1iGHG7d5mrWx9rh9wVYkvhKUPSq6gFL1RhXESHufziNhPjWwuyDGPVy8XeyGj1vc378hhGE73KRAZ9F9MbjJMsgM3XfwJEEYDXAwnyCBDnM2pR72kDiN5veTAZ8QUCJMfJQPZ63JHgHF51vCpJyAd65rBQsW39Kam7wkzJvWGjiwgVZghydHZNXWcBVT728K9zMCchjN3n8F7dc2ixeH7HpHrtmhBDSHPV3kzNKFNvZa9MTmSyVaz4wn1n9tQ9oX3utqfnYK3Qyao4N2hsER1C1xu9BdTS22NeizFHDh7wPMK2vksSQPnixFdwGQDiqa8CroEfvcarrYx5vZLnEjPqLw3Uqp7Y9c3xmJXgGGc6JgwgZtUrMmtJKciJHiPMPazQW9RYwVqN3BP73yNBe4yU7oiyWFJCvJpVeVuv53yEg9PaxVZNoesC5kv5A
二、具体的解密操作
(怎么做全在图里了
1.把文本放到CyberChef中用Magic解密
2.把完整的解密内容复制出来
3.打开010并以hex格式粘贴内容
4.点一下HEX
5.保存成png
这样是不是样子就熟悉多了,去保存成png
结果得到了这个样子的图:
三、用工具拿到隐写内容
这里要借助Windows下的一个工具,npiet,去这里下载:http://www.bertnase.de/npiet/
下载之后,进入npiet-1.3a-win32文件夹,双击npiet-start
双击后打开了一个命令行,而且已经在这个工具文件的目录下了,直接输入命令:
npiet.exe -tpic …/chouxiang.png
chouxiang.png就是上面的抽象画.png,改成用字母命名了,因为在这个命令行里我没法输入中文。
注意这里的../只是代表上一级目录哈,实际要以自己的文件所在位置为准,并且注意【要加后缀名.png】
输入命令后敲回车就看到了回显的flag:ctfshow{dec8de_frejnv_frejer89}