Over The Wire – Bandit 3

Level Goal

The password for the next level is stored in a hidden file in the inhere directory.

After connecting, we can see a folder called inhere.
We can tell that this file is a folder because it is blue
We can also use the file command to see it is a directory or use ls -la to display a long list of the directory contents if we did not have a color coded terminal.
Screenshot from 2018-06-26 20-38-30.png
Navigating into the inhere directory takes us to a seemingly empty folder… But remember the goal, find the hidden file!
If we use ls, nothing shows up, but ls -la will show us the hidden file.
After that, it’s just a matter of catting the file
Screenshot from 2018-06-26 20-40-24

Leave a comment