// An Introductory Python Programming CTF Lab //
Welcome, agent. You have been recruited into PyPath Intelligence to recover 14 hidden flags. Each flag takes the form FLAG{...}.
Each challenge focuses on one Python concept. Click into a challenge, download the .py file, open it in Visual Studio Code, write your code, run it, and read the flag from the terminal output. Then come back here and submit it.
Stuck? Every challenge has a Hint button — it gives you guidance on where to look, not the answer itself.
| # | Challenge | Topic | Status | Attempts |
|---|
Make a folder called pypath_ctf on your Desktop. Save every downloaded .py file and vault_data.txt there.
Each challenge has a Download button — click it to save the file directly to your computer. No zip needed.
Use File → Open Folder to open your pypath_ctf folder. Your files appear in the Explorer sidebar on the left.
Press F5 or click the Run button. The terminal at the bottom shows your output — that's where you'll find the flag.
Press Ctrl+Shift+P → type Python: Select Interpreter to confirm your version. No extra packages needed.
Every flag looks like FLAG{something}. Copy it exactly from your terminal — flags are case-sensitive.
• Read the entire file before writing any code — all instructions are in the comments at the top.
• Run the file first with no changes to see what it already does.
• Flags are produced by your running code — they're not written out in plain text in the file.
• Flag 06 needs flag06_files.py and vault_data.txt in the same folder.
• Flag 13 (GUI) opens a window — type the secret code into the input box and click Submit.
• If the terminal shows an error, read the error message carefully — Python tells you exactly what's wrong and on which line.
• Use the Hint button in each challenge for nudges without spoilers.