WeChall - Stegano Woman
Challenge
Another challenge by Z. download it here
下载 stegano_woman.zip,解压得到 1.jpg 和
2.jpg。
Solution
ZIP 文件本身就有玄机。用 Python 的 zipfile 模块读取 ZIP
的 comment 字段:
1 | import zipfile |
输出:
1 | b'Stegano\r\n\t \t \t \t\t\t \t \t\t\t\t ...' |
Stegano 后面跟着大量
\t(tab)和空格。这是经典的空白隐写(whitespace
steganography)。
解码方法:tab=0,space=1(或反过来),每 8 位组成一个 ASCII 字符。
1 | comment = z.comment.split(b'Stegano\r\n')[1].decode() |