h3x5p34k CTF Team

Write-ups maybe ;)

Steganography Unknown CTF

Hi guys , This post is about Steganography challange of hicking sites , because challange is live now i changed its name to unknown ctf

alt text

in picure you can and understand that , you have to read red pixels , but how :

1
2
3
4
5
6
7
8
9
10
11
12
import Image
im = Image.open('stego9.png')
(h, w) = im.size
img = Image.new("RGB", (h,w), "white")
for x in range(h):
 for y in range(w):
  rgb_im = im.convert('RGB')
  r, g, b = rgb_im.getpixel((x, y))
  if (r,g,b) == (255,0,0) :
   data = x,y
   img.putpixel((x,y),(255,0,0))
img.save("flag.png")

Flag.png :

alt text

you can see “PASSWORD” but cant read password .. using Stegsolve –> Image Combiner –> Vertcial Mode Solved.png :

alt text

The flag is :

1
2#4%6&x!

Good Luck

Comments