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/bandit15.md
URL /wargames/bandit/bandit15/
Date 2026-04-07

Bandit Level 15

Bandit Level 15 — talk to a plain-text network service on localhost with netcat.

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

Level Goal

The password for the next level can be retrieved by submitting the password of the current level to port 30000 on localhost.

Commands you may need to solve this level

ssh, telnet, nc, openssl, s_client, nmap

Helpful Reading Material

Study guide

Level map: logged in as bandit14, find the password for bandit15.

What this level teaches

What a network service is, and how to talk to one directly.

Key ideas

  • Client and server. A server listens on a port; a client connects and exchanges data. Here you are the client.
  • localhost (127.0.0.1) means “this very machine”, which makes it ideal for safe practice.
  • TCP. A reliable byte stream. Many simple protocols are just lines of text.
  • nc (netcat) opens a TCP connection and connects it to your keyboard and screen, so you can type to a service like a human protocol client.

How to approach it

  1. Connect to the port the Level Goal gives.
  2. Send the previous level’s password followed by a newline, and read the reply.
  3. Notice that anyone on the network path could read this exchange because it is unencrypted. The next level fixes that.

Why it matters

Every protocol you know (HTTP, SMTP, Redis) is text over a port, and netcat is the debugging tool for all of them.