Visual guide
Bash Arena
How bash-arena works: pick a level, solve the challenge in a real Docker terminal, and the flag only appears if your pipeline is right.
- 536
- real levels
- 18
- tracks
- HMAC
- per-session flags
- 0
- network in the container
2 screens · 9 parts explained
The arena: challenge on the left, terminal on the right
Each level pairs a brief, a short lesson and a real Bash terminal inside a throwaway container.
grep · 50
- 01 · match
- 02 · -i
- 03 · -v
- 04 · -c
- 05 · -o
- 06 · -E
- 07 · -r
- 08 · -l
- 09 · -w
- ★ boss
grep-07 · 30 XP
Somewhere under /srv/app a line contains “token=”. Print only the value, nothing else from the line.
Hints
- Hint 1 · freegrep can search whole directories
- Hint 2 · −5 XPlook at -o and -hlocked
player@arena:~$
grep -r "token=" /srv/app
/srv/app/conf/.env.bak:token=Zx9-41b
grep -rhoP "token=\K\S+" /srv/app
Zx9-41b
✔ correct output
Flag captured · +30 XP · the level is now open to review the solution with no penalty.
Track levels
Each track goes from simple to hard and ends with a boss. Solved levels are green.
The brief
It says what output is expected, not which command to use. Many solutions are valid.
Hints with a cost
The first is free; the next ones cost some XP, so trying first pays off.
Real terminal
A throwaway container with no network, no capabilities and CPU, memory and process limits. What you type really runs.
The flag
It only appears when the result is right. It is generated per session with HMAC-SHA256 and validated server-side, so it cannot be copied from another player.
Your progress: XP, ranks and tracks
The player profile shows progress per track, the daily streak and a report you can export as PDF.
- XP
- 1 240
- Tracks
- 2 / 18
- Streak
- 6 d
- Flags
- 87 / 536
XP per day
A summary of tracks, solved levels and strengths to share or attach to a CV.
XP, flags and streak
Each flag gives XP and raises your rank; the streak counts consecutive days played.
Progress per track
From fundamentals and filtering to grep, awk and their pro versions, sysadmin, DNS, SQL or forensics.
Activity
How much XP you earn each day; it helps keep the habit.
Exportable report
A PDF of what you have proved you know, generated from your flags.
How it is used
Pick a track
Start with fundamentals or jump straight to grep, awk or forensics.
Read the challenge
Each level brings a brief, a short lesson and a cheatsheet.
Solve it in the terminal
Try commands until the output matches; the flag appears by itself.
Review and level up
Check the reference solution with no penalty and move on.
Key concepts
- Pipeline
- Chaining commands with | so one command’s output is the next one’s input.
- Flag
- A secret string proving you solved the challenge.
- HMAC
- A keyed signature that makes each flag unique per session and prevents sharing.
- Throwaway container
- An isolated environment created for your session and destroyed afterwards.
Want to use it for real?
This guide explains each part of the interface. The full, always up-to-date tool lives on its official site and repository.