CTF writeup · · 1 min
picoCTF vault-door-training: Reading the Flag Out of Java Source
The vault's password check is right there in the Java source. Read the comparison and the flag falls out.
vault-door-training
Author: Mark E. Haase
Description
Your mission is to enter Dr. Evil's laboratory and retrieve the blueprints for his Doomsday Project. The laboratory is protected by a series of locked vault doors. Each door is controlled by a computer and requires a password to open. Unfortunately, our undercover agents have not been able to obtain the secret passwords for the vault doors, but one of our junior agents obtained the source code for each vault's computer! You will need to read the source code for each level to figure out what the password is for that vault door. As a warmup, we have created a replica vault in our training facility.
The source code for the training vault is here: VaultDoorTraining.java
The source code reveals the fragmented flag as shown below;

- CTF
- Reverse Engineering
- picoCTF
- Java