MISC-image-2
煤矿路口西 Lv4

image[2]


21

得到的 flag 请包上 flag{} 提交。

不明全部,稍做记录。

得到一张类似二维码的小图

6Pbpan.png

将其分离出rgb三个通道(笔者用的stegsolve)

根据拼接,得到类似汉信码

存在一定的爆破和容差

from PIL import Image
from random import randint

for k in range(5):
# 用到的三张图片就是上面说的 RGB 通道分开的图片(未放大10倍)
R = Image.open('solved_r.bmp')
G = Image.open('solved_g.bmp')
B = Image.open('solved_b.bmp')
GBR = Image.new('RGB', (31, 31))
TMP = Image.new('RGB', (7, 7))
GBRReadble = Image.new('RGB', (372, 372))

n_r = 0
n_g = 0
n_b = 0
p_r = R.load()
p_g = G.load()
p_b = B.load()
pim = GBR.load()
pimr = GBRReadble.load()
tmp = TMP.load()

for i in range(31):
if i%3 == 0:
for j in range(31):
pim[i, j] = p_g[j, n_g]
n_g = n_g + 1
elif i%3 == 1:
for j in range(31):
pim[i, j] = p_b[j, n_b]
n_b = n_b + 1
elif i%3 == 2:
for j in range(31):
pim[i, j] = p_r[j, n_r]
n_r = n_r + 1

for i in range(0, 7):
for j in range(0, 7):
tmp[i, j] = pim[i, j]

TMP = TMP.rotate(180)
tmp = TMP.load()

for i in range(0, 7):
for j in range(0, 7):
pim[i, j] = tmp[i, j]

for i in range(14, 23):
for j in range(24, 31):
if (randint(0, 1) == 0):
pim[i, j] = (0,0,0)

for i in range(372):
for j in range(372):
pimr[j, i] = (255,255,255)

for i in range(31,341):
for j in range(31,341):
pimr[j, i] = pim[(j-31)//10, (i-31)//10]

GBRReadble = GBRReadble.rotate(90)

filename = "gbr"+ str(k) + ".png"
GBRReadble.save(filename)

参考:

https://blog.csdn.net/r42135d1r2r4/article/details/106063796

https://www.cnblogs.com/p201821440039/p/12900273.html

22

得到的 flag 请包上 flag{} 提交。

得到find_me.unk

010分析,后缀名改为.jpg

得到一张图片,写着MONSTERS COME IN MANY FORMS

尝试提交,不对

foremost分离,得到png图片,写着摩斯电码的字典,右下角发现不寻常

6i8yPe

通过解密:HELPME

尝试提交,不对

继续搜索,Png文件尾存在ogg文件,通过查询是一种音频文件

另存为.ogg

au中查看,明显莫斯,解码得

flag{M0R53_W1LL_N3V3R_4G3!}
  • 本文标题:MISC-image-2
  • 本文作者:煤矿路口西
  • 创建时间:2021-03-22 20:19:30
  • 本文链接:http://www.mklkx.xyz/2021/03/22/MISC-image-2/
  • 版权声明:本博客所有文章除特别声明外,均采用 BY-NC-SA 许可协议。转载请注明出处!