Extract HTML Comments

Use BeautifulSoup to extract HTML comment nodes from a page and reveal the hidden flag.

January 1, 2025 · 2 min · giordii

Byte Flag — Flag Hidden in Raw PNG Bytes

Open the PNG in binary mode, locate the ASCII string ‘flag’ in the raw byte stream, and print every byte after that index — the flag is embedded verbatim in the file’s binary content.

January 1, 2024 · 1 min · giordii