Writeups OverTheWireBanditLinuxfind

Bandit 5 Writeup - OverTheWire

Writeup for Bandit level 5 from OverTheWire: finding a file with specific properties.

Contents

Wargame: Bandit

Level: 5

Category: Linux Fundamentals

Description

The inhere directory has many subdirectories. The password file is human-readable, exactly 1033 bytes in size, and not executable. The goal is to use find to locate it.

Overview

Solution

find inhere -size 1033c ! -executable -readable

Password

P4L4vucdmLnm8I7Vl7jG1ApGSfjYKqJU

← Back to Blog