mosaic: # replace with actual short name name: "mega obfuscated secure advanced information communication" author: "cato447" # will be displayed on CTFd # Estimated difficulty difficulty: easy description: "The TAs creating the endterm exam have suffered in the past from leaked drafts. To protect themselves against further leaks they invented the *mega obfuscated secure advanced information communication* (mosaic) system. The mosaic system encodes emails as QR-Codes and then applies the ultra secure protection algorithm. We found a QR-Code that was not disposed properly in a waste bin. Can you decipher the email? Hint: 1. The mosaic algorithm adds decoy fake data to the QR-Code. It is mega secure after all! 2. Save yourself from the headache of searching for QR-Code libraries: https://github.com/NaturalHistoryMuseum/pyzbar" category: misc flag: content: "h4tum{sm4ll_key_spac3s_are_deadly}" dynamic: true files: dynamic # dynamic requires a gen_files script dependencies: type: debian system: ["python3", "libzbar0"] python: ["pillow", "qrcode", "pyzbar", "numpy", "tqdm"] check: "python3 solve.py"