Level3

Level Goal

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

Solution

root@0xCAB: /writeups/overthewire/bandit/level3/

$ ls
inhere

$ ls -a inhere/
. .. .hidden

$ cat inhere/.hidden
2EW7BBsr6aMMoJ2HjW067dm8EgX26xNe

$

A hidden file or directory is one that is not shown by default when listing a directory. In Linux, hidden files/directories are those that begin with a dot (’.’). To list hidden files/directories with the ls utility, you can use the -a (all) or -A (all except for implied . and ..) flags. See the ls man page to read more.