OverTheWire - Bandit - Level 3 → Level 4

Warning: This post contains a solution!

Only continue if:
1.) you want to see a possible alternative solution or
2.) you are stuck and need a hint!

Connect to the server using the following credentials:

Server: bandit.labs.overthewire.org
Port: 2220
Username: bandit3
Password: UmHaxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Let us have a look at the files in the current folder:

bandit3@bandit:~$ ls

A folder named "inhere" is available.
Moving into this folder and listing available files retrieves no results:

bandit3@bandit:~$ cd inhere/
bandit3@bandit:~/inhere$ ls

This happens because the filename starts with a dot, which means "hidden" file.
Adding the flag "-a" to list command results in:

bandit3@bandit:~/inhere$ ls -a
.  ..  .hidden

Output the content:

bandit3@bandit:~/inhere$ cat .hidden
Show Comments