Challenge Description:
everyone <3s steg right? hell nah
btw it's all piano man's fault for making this chall come true but it turned out to be easy so i guess ...... thanks piano man
terminal
$ file challenge.png
challenge.png: PNG image data, 90 x 90, 8-bit/color RGBA, non-interlaced, animated (16 frames, infinite repetitions)
APNG with 16 frames. Extracted all frames and tried the usual — LSB across RGB channels, different bit planes, stegano lib. All empty.
Then I dumped unique colors per frame. Every frame has like 18-21 colors, mostly the same palette. But each frame has exactly one pixel with RGBA(0,0,0,X) where X is some random alpha value that's not 0 or 255. ngl that's sus.
The alpha values are ASCII characters btw.
solve.py
from PIL import Image
alpha_values = []
for fi in range(16):
img = Image.open("challenge.png")
img.seek(fi)
frame = img.copy().convert('RGBA')
for pixel in frame.getdata():
r, g, b, a = pixel
if r == 0 and g == 0 and b == 0 and a != 0 and a != 255:
alpha_values.append(a)
print(f"Frame {fi}: alpha={a} -> '{chr(a)}'")
break
print("Flag:", ''.join(chr(a) for a in alpha_values))
output
Frame 0: alpha=100 -> 'd'
Frame 1: alpha=97 -> 'a'
Frame 2: alpha=108 -> 'l'
Frame 3: alpha=99 -> 'c'
Frame 4: alpha=116 -> 't'
Frame 5: alpha=102 -> 'f'
Frame 6: alpha=123 -> '{'
Frame 7: alpha=112 -> 'p'
Frame 8: alpha=105 -> 'i'
Frame 9: alpha=97 -> 'a'
Frame 10: alpha=110 -> 'n'
Frame 11: alpha=111 -> 'o'
Frame 12: alpha=109 -> 'm'
Frame 13: alpha=97 -> 'a'
Frame 14: alpha=110 -> 'n'
Frame 15: alpha=125 -> '}'
Flag: dalctf{pianoman}
Each frame hides one flag character in the alpha channel of a single semi-transparent black pixel. 16 frames, 16 characters.
Flag
dalctf{pianoman}