pwn3d.es

BASH ARENA · REAL CATALOGUE + CHALLENGES

536 LEVELS · 18 TRACKS · VISUAL GUIDE

Pipelines that resolve, not containers that boot.

A Docker terminal in the browser with 536 real Bash levels across 18 tracks. Each level hides a flag that only appears if your pipeline is right, and the server verifies it.

536 niveles18 tracksMotor JS0 Docker
real levels
536
tracks
18
screens in the guide
2
parts explained
9

What it is and what it is for

bash-arena is a Docker terminal in the browser with 536 real Bash levels across 18 tracks: each level hides a flag that only appears if you solve the challenge with the right commands, and the server verifies it automatically. It adds XP, ranks, streaks, hints and a player PDF report.

Tracks go from basics, filtering, searching, processing, permissions, processes, networking, files, scripting and forensics to specialities such as grep and awk (50 levels each), their expert grep-pro and awk-pro versions, sysadmin, DNS and SQL, with a boss at the end of each block. After capturing a flag, the level stays open to review the solution with no penalty.

Each level is a declarative YAML with setup, reference solution, hints, lesson and cheat sheet, and every solution is tested in its real container. Each session runs in an ephemeral container with no network, no capabilities and CPU, memory and process limits; flags are generated per session with HMAC-SHA256 and only the server validates them.

When to use it

  • Learning the command line by playing

    Progress through tracks with hints and XP, from the first cat to awk and sed pipelines.

  • Specialising in grep and awk

    The grep-pro and awk-pro tracks train a single tool at expert level.

  • Running an arena for a group

    Deploy the release with one command and give each student an isolated container.

How it works

  1. Isolated session

    The server creates a container with --network none, --cap-drop ALL, --pids-limit 128, 256 MB and 0.5 CPU.

  2. Level setup

    The YAML setup runs as root and hides an HMAC-generated flag for that session.

  3. Terminal in the browser

    xterm.js talks over WebSocket with the gateway; the user never touches the Docker socket.

  4. Server-side validation

    The flag is always checked on the backend; then XP, streak and achievements are added.

What changes on pwn3d.es

  • On pwn3d.es the tool is explained with a visual guide: its interface recreated in CSS, screen by screen, with each part numbered and explained.
  • pwn3d.es neither runs nor hosts the tool: to use it there are its official site and repository, always at their latest version.

Catalogue and concept adapted from bash-arena, released under the MIT licence. The challenge selection, synthetic datasets, engine and entire interface were rewritten for pwn3d.es without reusing its container execution, PTY or HMAC flags.