misc50
题目提示:颜色通道
使用stegsolve打开图片,在颜色通道中查看发现三段flag片段
至此得到本题flag:ctfshow{84470883ee1eec2e886436461bf79111}
misc51
查看了各个通道没有思路,网上搜发现要用脚本统计每种像素点出现的个数,然后将出现次数多的颜色像素点换成白色,得到图片看到flag
统计每种像素点出现的个数脚本:
from PIL import Image
im=Image.open('misc51.png')
im = im.convert('RGB')
img = Image.new("RGB",(900,150))
dic = {}
for h in range(900):
for w in range(150):
s = im.getpixel((h,w))
dic[s] = dic.get(s,0)+1
lt = list(dic.items())
lt.sort(key = lambda x:x[-1])
print(lt)
将出现频次较多的是(128, 96, 64)出现279次,(64, 96, 128)出现282次,使用脚本将这两个像素的位置换成白的
from PIL import Image
im=Image.open('misc51.png')
im = im.convert('RGB')
img = Image.new("RGB",(900,150))
for h in range(900):
for w in range(150):
s = im.getpixel((h,w))
if s == (64, 96, 128) or s == (128, 96, 64):
img.putpixel([h, w], (255, 255, 255))
img.show()
至此得到本题flag:ctfshow{51fcc6228d768a3acab1d05572e52133}
misc52
上脚本!
from PIL import Image
im=Image.open('misc52.png')
im = im.convert('RGB')
img = Image.new("RGB",(900,150))
lt = [(130, 176, 116),(72, 217, 123),(146, 16, 141),(130, 241, 105),(251, 160, 136),(5, 129, 88),(167, 46, 187),(20, 65, 141),(96, 231, 225),(196, 144, 18)]
for h in range(900):
for w in range(150):
s = im.getpixel((h,w))
if s in lt:
img.putpixel([h, w], (255, 255, 255))
img.show()
运行得到flag
至此得到本题flag:ctfshow{f87ad503c2c163471fbe768c9d7a9d6c}
misc53
使用stegsolve打开图片,查看颜色通道时发现在red plane 0、green plane 0、 blue plane 0处发现左上角似乎有东西,应该是lsb隐写痕迹
使用Analyse中的data extract,选上对应选项,点击preview预览,往上翻得到flag
或者zsteg一把梭也可以
zsteg misc53.png
至此得到本题flag:ctfshow{69830d5a3a3b5006f7b11193e9bc22a2}
misc54
使用stegsolve打开图片,查看颜色通道时发现在alpha plane 0、green plane 0、 blue plane 0处发现左边有一列东西,应该是lsb隐写痕迹
使用Analyse中的data extract,选上对应选项,点击preview预览,往上翻得到flag
至此得到本题flag:ctfshow{b1f8ab24b8ca223d0affbf372ba0e4fa}
misc55
方法一:
使用stegsolve打开图片,查看颜色通道时发现在red plane 0、green plane 0、 blue plane 0处发现左边有一列东西,应该是lsb隐写痕迹
可以使用windows自带的画图软件,将图片垂直翻转后使用使用stegsolve打开图片,使用Analyse中的data extract,选上对应选项,点击preview预览,发现是个压缩包,点击save bin提取出来
解压保存后的压缩包,里面有一个没有后缀名的文件"旗子",使用记事本打开得到flag
方法二:
在kali中使用zsteg工具查看图片lsb信息
zsteg -a misc55.png
发现存在zip,提取出来后里面有一个没有后缀名的文件"旗子",打开得到flag
zsteg -E b1,rgb,lsb,Yx misc55.png > flag.zip
至此得到本题flag:ctfshow{daf256838e19a19d9e7b0a69642ad5ee}
misc56
使用stegsolve打开图片,查看颜色通道时发现在red plane 4、red plane 2、red plane 1、green plane 4、green plane 2、green plane 1处发现左上方有东西,应该是lsb隐写痕迹
至此得到本题flag:ctfshow{1b30c28a5fca6cec5886b1d2cc8b1263}