pwn3d.es

BASH FORGE · SAFE ACADEMY

9 WORLDS · 90 LESSONS · VISUAL GUIDE

Learn Bash without running a shell.

Learn Bash by writing real scripts on Ubuntu 24.04 inside Docker: nine worlds, from Midgard to Asgard, and every script validated against test cases.

BashIntérprete JSFS virtual0 shell
worlds of Yggdrasil
9
lessons
90
screens in the guide
2
parts explained
7

What it is and what it is for

Bash Forge is an open-source platform to learn Bash by writing and running real scripts on a real Ubuntu 24.04 inside Docker, from a web terminal with a Nordic finish. No simulations: every command really runs in an isolated sandbox.

The curriculum follows nine worlds of Yggdrasil, from Midgard (first contact, echo, paths and your first script) to Asgard (final projects such as rotating backups or a resource monitor), through variables, conditionals, loops, functions, I/O and processes, arrays and text and robustness with set -euo pipefail and ShellCheck. It adds up to 90 lessons, 8 challenges, 6 timed Boss Fights and 12 guided practice lessons (IF, FOR, WHILE and CASE).

Each lesson is validated by running your script as a black box against generated test cases and returns a teaching report. Progress includes XP, forge ranks (from Apprentice to Master Smith) and a daily streak, and the UI has its own design system with 24 Elder Futhark runes.

When to use it

  • Learning Bash from scratch

    Follow the worlds in order, from the first echo to a capstone project, with automatic validation.

  • Practising a specific concept

    Guided practice tracks train IF, FOR, WHILE or CASE without progression locks.

  • Training a team

    Run the stack locally and give each person their own isolated user in the sandbox.

How it works

  1. Browser

    React and xterm.js open a session over HTTP and WebSocket.

  2. web (nginx)

    Serves the app and forwards /api and /ws to the sandbox over an internal network with no Internet access.

  3. sandbox-server

    ws + node-pty + validator: it creates an unprivileged Linux user per session; checks run as another user and cannot be read or altered.

  4. No docker.sock

    No container mounts /var/run/docker.sock, by design.

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.

Content adapted from bash-forge, released under the MIT licence. The workshop selection, evaluator, virtual filesystem and entire interface were rewritten for pwn3d.es without reusing the original PTY terminal.