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

Narnia Level 8

Narnia Level 8 — a later Narnia level that combines the earlier techniques; use the source and a debugger to find where your input goes.

Table of Contents

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

There is no information for this level, intentionally.

Study guide

Level map: logged in as narnia8, find the password for narnia9.

What this level teaches

Choosing the right technique yourself, after seeing several in earlier levels.

Key ideas

  • Diagnose first. Ask which memory-safety bug is present before choosing an attack.
  • Use the debugger. gdb shows registers, the stack and memory around your input, which is faster than guessing.
  • Pointer-based bugs. Programs that copy data through pointers may let a small mistake in one place write somewhere unexpected.
  • Keep notes. By now you have a toolbox; write which tool fits which symptom.

How to approach it

  1. Read the source twice, slowly, and annotate every pointer and buffer.
  2. Run it under gdb with normal input and note what lives where.
  3. Change one thing at a time until the program does something it should not.

Why it matters

Real vulnerability hunting is exactly this: reading code and choosing the right primitive.