PyPath Python Logo

PyPath CTF

// An Introductory Python Programming CTF Lab //

▶ Mission Brief

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.

0 / 14
Flags captured — keep going!

🏴 Flag Submission Log

#ChallengeTopicStatusAttempts

🎉 All 14 Flags Captured!

Mission complete. You have demonstrated mastery of introductory Python programming.

FLAG{m4st3r_4g3nt_pyth0n_0p3r4t0r}

📁

Create a Folder

Make a folder called pypath_ctf on your Desktop. Save every downloaded .py file and vault_data.txt there.

⬇️

Download Files Here

Each challenge has a Download button — click it to save the file directly to your computer. No zip needed.

💻

Open in VS Code

Use File → Open Folder to open your pypath_ctf folder. Your files appear in the Explorer sidebar on the left.

Run Your Code

Press F5 or click the Run button. The terminal at the bottom shows your output — that's where you'll find the flag.

🐍

Python 3.8+

Press Ctrl+Shift+P → type Python: Select Interpreter to confirm your version. No extra packages needed.

📋

Flag Format

Every flag looks like FLAG{something}. Copy it exactly from your terminal — flags are case-sensitive.

Tips for Success

• 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.