Challenges
Whitespace steganography
Steganography
Easy
Whitespace steganography
Solves: 6
Whitespace steganography
Author: CyberSamSU
Points
18
Steganography can exist not only in images, but also in a plain text file. A classic method is adding an invisible space character to the end of each line: for example, one space is bit 0, a tab character is bit 1. In a text editor, this difference is completely unnoticeable.
In the attached sher.txt file, there is exactly one such character (space or tab) at the end of each line. By reading them sequentially, restore the sequence of 0/1 bits, then convert every 8 bits into a single ASCII character.
Read the file not in a text editor, but as raw bytes via open(f, 'rb') — otherwise the editor might strip the spaces.
Attached files
sher.txt
Log in to download
SHA-256 checksums
sher.txt: 0309252d2e52512da54e187c57f78a3d0729871aa34208d22cf0249ffa99d392
To submit a flag, log in.