# 2. Extract inner archive (no password) unrar x inner.rar
$ zbarimg _mystery.bin.extracted/00000000.png QR-Code:HTBfl4t_p4ck_5c4nn3r_2023 That is the flag. Below is a one‑liner script that reproduces the entire process automatically. It assumes you have unrar , zsteg , binwalk , and zbarimg installed.
Cannot open encrypted file. Use -p option to specify a password. Thus we need the password. 3.1 Brute‑Force / Dictionary Attempts A quick dictionary attack with common passwords (e.g., password , 12345 , admin ) fails. The creator hints in the challenge description: “The key is hidden inside the name of the pack itself.” The file name flatpack‑522 suggests the password may be related to the number 522 .
$ binwalk -e mystery.bin This creates a folder _mystery.bin.extracted containing 00000000.png . Open it:
$ feh _mystery.bin.extracted/00000000.png The image is a . Decode it with zbarimg :