A hardened terminal-based cybersecurity wargame designed to simulate real-world attack workflows.
This update strengthens the internal reliability and security of the system.
-
State Integrity Enforcement
- Added checksum validation to prevent corrupted or tampered progress data
-
Execution Safety Guards
- Protected destructive operations (
rm -rf) with strict path validation
- Protected destructive operations (
-
Cross-Platform Time Handling
- Replaced non-portable
date -dusage - Ensures consistent timing across Termux and Linux systems
- Replaced non-portable
-
Signal Handling (Stability)
- Added
SIGINT(Ctrl+C) trap - Prevents corruption during forced exits
- Added
- More stable execution
- Reduced risk of corruption
- Stronger anti-tamper behavior
- Reliable performance across environments
This update does not add new levels.
It reinforces the core engine for future upgrades.
git clone https://github.com/RootLogicDev/nexus-wargame
cd nexus-wargame
bash wargame.shNEXUS WARGAME is a 20-level offensive security training environment designed to force real operator thinking.
No hand-holding. No predictable puzzles.
- Enumerate systems
- Extract hidden credentials
- Decode and analyze data
- Chain commands into solutions
- Operate under pressure
Most beginner wargames teach commands.
NEXUS trains:
- Decision making under noise
- Pattern recognition
- Tool chaining
- Realistic problem solving
- Linux enumeration
- File analysis & identification
- Log parsing & pattern extraction
- Encoding/decoding (Base64, ROT13, binary artifacts)
- Privilege escalation concepts (SUID, cron, env leaks)
- Networking basics (Netcat, local services)
- Command pipelines (
grep,cut,sort,uniq)
git clone https://github.com/RootLogicDev/nexus-wargame
cd nexus-wargamebash wargame.sh setup # Build environment (run once)
bash wargame.sh play # Start / continue
bash wargame.sh play --timed # Timed mode
bash wargame.sh status # View progress
bash wargame.sh leaderboard # View scores
bash wargame.sh report # Export report
bash wargame.sh reset # Reset progress
bash wargame.sh verify # verify installationTermux (Android) Kali Linux Ubuntu / Debian Arch Linux
Bash objective View mission objective story View narrative context hint Get next hint (costs points) submit Submit answer score Show current score achievements View unlocked achievements exit Return to main menu
20 Levels (increasing difficulty) Dynamic scoring (efficiency matters) Achievement system Speedrun mode Rank System S-RANK — Elite A-RANK — Expert B-RANK — Proficient C-RANK — Developing D-RANK — Beginner
Identify valid files among decoys Extract credentials from logs Decode encoded payloads Analyze binary data Discover hidden files Interact with local services Build multi-step command pipelines
Bash bash coreutils bzip2 gawk netcat binutils
Real skill comes from filtering noise, identifying patterns, and chaining simple tools into effective solutions.
MIT License
If you find this useful: ⭐ Star the repository 🍴 Fork it 🐛 Report issues
Online leaderboard Advanced scenario chains Red-team simulations Web interface