文章

ccsssc 2026 steganography 极简wp

赛题附件

文件入手010打开,发现png以及被抹去的7z文件头 还原之后得到layer2.png 使用stegsolve的Lsb提取rgb0通道得到一份损坏的压缩包 直接使用winrar修复后得到flag.zip以及pass1-6.zip 利用GITHUB的工具暴力破解crc32 得到

pass is c1!xxtLf%fXYPkaA 解压flag.zip后得到flag.txt 使用010发现存在零宽字符 使用脚本得到flag *dart{bf4100d9-cc8d-48f6-a095-54cbfad189e1}*

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
def decode_zero_width(s):
bits = []
i = 0
while i < len(s):
    if s.startswith('​', i):
        bits.append('0')
        i += 3
    elif s.startswith('‌', i):
        bits.append('1')
        i += 3
    else:
        i += 1

bit_str = ''.join(bits)
result = []
for j in range(0, len(bit_str), 8):
    byte = bit_str[j:j+8]
    if len(byte) == 8:
        result.append(chr(int(byte, 2)))
return ''.join(result)

hidden_text = """
​‌‌​​‌​​​‌‌​​​​‌​‌‌‌​​‌​​‌‌‌​‌​​​‌‌‌‌​‌‌​‌‌​​​‌​​‌‌​​‌‌​​​‌‌​‌​​​​‌‌​​​‌​​‌‌​​​​​​‌‌​​​​​‌‌​​‌​​​​‌‌‌​​‌​​‌​‌‌​‌​‌‌​​​‌‌​‌‌​​​‌‌​​‌‌‌​​​​‌‌​​‌​​​​‌​‌‌​‌​​‌‌​‌​​​​‌‌‌​​​​‌‌​​‌‌​​​‌‌​‌‌​​​‌​‌‌​‌​‌‌​​​​‌​​‌‌​​​​​​‌‌‌​​‌​​‌‌​‌​‌​​‌​‌‌​‌​​‌‌​‌​‌​​‌‌​‌​​​‌‌​​​‌‌​‌‌​​​‌​​‌‌​​‌‌​​‌‌​​​​‌​‌‌​​‌​​​​‌‌​​​‌​​‌‌‌​​​​​‌‌‌​​‌​‌‌​​‌​‌​​‌‌​​​‌​‌‌‌‌‌​‌
"""

print(decode_zero_width(hidden_text))
本文由作者按照 CC BY 4.0 进行授权