Skip to main content

Settings

Color Mode

Theme Skin

Background

Appearance preferences are saved in this browser only.

Environment

Current Environment Production

Built with JEKYLL_ENV=production. Changes require deployment.

Quick Links

Theme & Build

Jekyll v3.10.0
Last BuildNov 24, 17:25

Page Location

Page Info

Layout default
Collection wargames
Path _wargames/bandit/bandit11.md
URL /wargames/bandit/bandit11/
Date 2026-04-07

Bandit Level 11

Bandit Level 11 — decode Base64 data, learning that encoding is not encryption.

Source: This content is aggregated from overthewire (MIT). Visit the original repository for the latest version.

Level Goal

The password for the next level is stored in the file data.txt, which contains base64 encoded data

Commands you may need to solve this level

grep, sort, uniq, strings, base64, tr, tar, gzip, bzip2, xxd

Helpful Reading Material

Study guide

Level map: logged in as bandit10, find the password for bandit11.

What this level teaches

What Base64 is, how to recognise it, and how to reverse it.

Key ideas

  • Encoding vs encryption. Base64 represents arbitrary bytes using 64 safe text characters so they survive email, URLs and JSON. It involves no key and provides no secrecy.
  • Recognising Base64. Letters, digits, + and /, often with = padding at the end, in lines of regular length.
  • base64 -d decodes; run without -d it encodes.

How to approach it

  1. Look at the file and note the telltale alphabet.
  2. Decode it with the base64 command; check the manual for the decode flag.
  3. Try encoding a short phrase and decoding it back to see the round trip.

Why it matters

Base64 appears in HTTP headers, tokens, certificates and email. Mistaking it for encryption is a common real-world security error.