Terminal CTF
A capture-the-flag game played inside this site's command line. Eight levels of real sysadmin and security tricks: hidden files, encodings, ciphers, logs, hex dumps, git history and file permissions.
Ready when you are
The command line opens over this page. Type ctf any time to see where you are.
Shortcut: the key left of 1 opens the terminal on every page of this site.
How to play
- Open the terminal with the button above and type
ctf. It shows the levels and where to go next. - Go to a level with
cd ~/ctf/level1and read the story withcat README. - Dig. Every level hides a flag that looks like
flag{...}. Use the shell's tools:ls -a,ls -l,grep,base64 -d,caesar,xxd -r,git log,stat, and pipes likea | b. - Hand it in with
submit flag{...}. The next level unlocks. - Stuck?
ctf hintgives a nudge; ask again for a more direct one.ctf resetstarts over.
What you practise
Hidden dot-files
Base64
Caesar / ROT13
SSH auth logs
Hex dumps
Git history
File permissions
Pipes
Everything happens in a virtual folder inside the browser. Nothing is downloaded, nothing leaves the page.
Progress
0/8Flags
0Hints used
Tab complete
↑↓ history
Esc close