IceCTF2018-Drumbone

Question

Solution

Stegosolve

最後放番大D點

1
2
3
4
5
6
7
8
9
10
11
12
from PIL import Image, ImageFont, ImageDraw

flagImage = Image.new('RGB', (1000,1000), "white")
im = Image.open('solved.bmp')
im = im.convert('RGB')

for x in range(350):
for y in range(229):
if im.getpixel((x,y)) == (0,0,0):
dr = ImageDraw.Draw(flagImage)
dr.rectangle(((x,y),(x+5,y+5)), fill="black", outline = "black")
flagImage.save("flag2.png")