/images/avatar.jpg

Bandit Level 1 to 2: The Case of the Hyphen File

Introduction

Welcome back to the OverTheWire Bandit wargame series! If you’ve just solved Level 0 -> 1, congratulations on taking your first step. In this guide, we’ll tackle the next challenge: finding the password to log into bandit2.

This level introduces a common and important concept in the Linux command line: how to handle files with names that can be confused with command-line options. Let’s dive in.

The Challenge: Level 1 Goal

The official goal on the OverTheWire website states: