DEV Community

Krishna
Krishna

Posted on

1

OverTheWire Bandit Level 3 Level 4 walk-through

Challenge page => https://overthewire.org/wargames/bandit/bandit4.html

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!

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

The Most Contextual AI Development Assistant

Pieces.app image

Our centralized storage agent works on-device, unifying various developer tools to proactively capture and enrich useful materials, streamline collaboration, and solve complex problems through a contextual understanding of your unique workflow.

👥 Ideal for solo developers, teams, and cross-company projects

Learn more