Writeups OverTheWireBanditLinuxfind

Bandit 6 Writeup - OverTheWire

Writeup for Bandit level 6 from OverTheWire: finding a file by owner, group, and size.

Contents

Wargame: Bandit

Level: 6

Category: Linux Fundamentals

Description

The password file is somewhere on the server, owned by user bandit7, group bandit6, and exactly 33 bytes. The goal is to find it anywhere in the filesystem.

Overview

Solution

find / -user bandit7 -group bandit6 -size 33c 2>/dev/null

Password

z7WtoNQU2XfjmMtWA8u5rN4vzqu4v99S

← Back to Blog