DEV Community


Posted on

OverTheWire Bandit Level 3 Level 4 walk-through

Challenge page =>

This challenge also involves reading the password from a hidden file, which is present in the inhere directory.

When we navigate to the directory and list the files, there's nothing

inhere dir contents

But we know the file is there.

Hint 1: Once again, look at the list of the commands. Which one is likely to show us the hidden files in a directory?

Didn't get it? Its ok!

Hint 2: Maybe ask the Duck about "show hidden files in Linux" ?

Yep, it was the ls command all along, which has an additional option to show you hidden files aka files whose names start with a dot.

inhere dir contents

Congrats! Yet another flag conquered!

Top comments (0)