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

Vortex Level 2

Vortex Level 2 — create a specially crafted tar file, learning the archive format and how tools process it.

Table of Contents

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

Level Goal

Create a special tar file

Helpful Reading Material

GNU tar manual

Study guide

Level map: logged in as vortex2, obtain access to vortex3.

What this level teaches

How an archive format works and how a program that handles archives can be steered.

Key ideas

  • tar format. A tar archive is a sequence of header blocks and data; the page links the GNU tar manual.
  • Crafting input. Instead of using tar normally, think about which fields and filenames you control.
  • Find your lever. The page says only that a special tar file is needed, so work out which part of the program’s use of tar you control: names, options or contents.

How to approach it

  1. Read the GNU tar manual sections on formats and options.
  2. Look at the level’s program under /vortex/ and trace how it invokes tar.
  3. Build and test small archives before the final one.

Why it matters

Archive handling flaws (path traversal, symlinks, overwrite) are common real vulnerabilities.