A containersized command-line cybersecurity challenge built in Python, simulating a Linux/Windows terminal where players solve hacking-style puzzles using real Linux/Windows commands.
TerminalWarrior is an interactive command-line training game where players explore a simulated Linux/Windows filesystem to uncover hidden flags, passwords, and secrets using real terminal commands.
- 🟦 Linux/Windows-style terminal simulation (Python-only)
- 🧩 Multiple levels with increasing difficulty
- 💻 Realistic commands (
ls,cat,cd,chmod,sudo, etc.) - 📌 Progress tracking with challenge checklist
- 🐳 Full Docker support (no installations required)
- 🖥️ Cross-platform — Windows, macOS, Linux
- Intro Challenge: Explore directories and find hidden files | Basic Linux commands
ls,cat,cd,pwd,whoami - Permissions & Ownership:
UNDER REDESIGNLearn how to view and modify file permissions |chmod,chown,sudo,file modes - Searching the system:
UNDER REDESIGNFind hidden files and analyze logs |grep,find,less,head,tail - Networking Challenge:
COMING JulyDiscover hosts and services |ping,netcat,curl,ssh - Cryptography & Decoding:
COMING AugustDecode hidden messages and hash files |base64,hashing,simple ciphers
- Intro challenge: Navigate folders and uncover hidden files | Basic Window commands
dir,cd,type,cls,echo - Permissions & Ownership: View and edit file rights |
icals,attrib,takeown - Searching the System: Hunt for hiden files and read logs |
findstr,where,tree - Networking Challenge: Scan the network and check services |
ping,tracert,netstat,curl,ipconfig - Cryptography & Decoding: Decode messages and inspect hashes |
base64,certutil,simple ciphers - Registry Deep Dive: Navigate the Windows Registry to find hidden configuration keys
- Task Scheduler & Services: Investigate scheduled tasks and services to find malicious activity
- Event Log Forensics: Analyze Windows Event Logs to trace security incidents
- Disk Forensics & File Recovery: Recover deleted files and analyze disk partitions
- PowerShell Scripting Challenge: Use PowerShell to automate tasks and solve complex problems
git clone https://github.com/diversionsec/TerminalWarrior.gitcd TerminalWarriorpip install -r requirements.txtpython -m cli_lab.maingit clone https://github.com/diversionsec/TerminalWarrior.gitcd TerminalWarriorpip install -r requirements.txtpython -m cli_lab.main docker build -t cli-lab -f docker/Dockerfile . docker run -it cli-lab