Welcome to the UHS CS Club 2025 Halloween CTF Event!
This is a beginner-friendly Capture The Flag challenge where you've been trapped in a sinister mansion. You must escape before dawn by unlocking 4 locks and solving puzzles along the way!
- You need Python 3.x on your computer
- Test if it's installed by opening Command Prompt (Windows) or Terminal (Mac/Linux) and typing:
or
python --version
python3 --version
- Make sure all
.pyfiles are in the same folder
- Open Command Prompt or Terminal
- Use
cdto go to the folder with the files:cd path/to/your/folder
python console.pyIf that doesn't work, try:
python3 console.pyYou need to unlock 4 locks to escape the mansion:
- Choose a lock (1-4) when prompted by the MOS system
- Figure out the password for that lock
- Get the lock code after entering the correct password
- Repeat for all 4 locks to collect all codes
- Escape!
- Read the code super thoroughly! - Open the
.pyfiles in a text editor - Google is your friend - Look up things like "base64 decoder" or "python functions"
- Look for hints in comments - The code has helpful comments from the character's perspective
- Take notes - Write down lock codes as you find them
- Start with Lock 1 - It's the easiest and builds up from there
- Think outside the box - Not everything works as expected...
- Errors can be useful - Sometimes breaking things is part of the solution 😉
- Reading and understanding Python code
- Base64 encoding/decoding
- String manipulation and algorithms
- Buffer overflow concepts (simulated safely)
- Basic reverse engineering techniques
- ❌ You CANNOT modify the code AT ALL!!!
- ❌ ABSOLUTELY NO USE of a debugger!!!
- ✅ If you are REALLY stuck, ask your peers or an exec for help!
- ✅ You CAN use online tools and Google searches
Don't worry! This is designed for beginners. If you're stuck:
- Re-read the code comments carefully
- Try Googling unfamiliar terms or functions
- Ask a friend or exec for a hint
- Remember: sometimes the answer is right in front of you!
Made with love by Emil