BB

technology and craziness.

BB

technology and craziness.

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:

1
2
bandit3@bandit:~$ ls
inhere

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

1
2
3
bandit3@bandit:~$ cd inhere/
bandit3@bandit:~/inhere$ ls
bandit3@bandit:~/inhere$

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

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

Output the content:

1
2
bandit3@bandit:~/inhere$ cat .hidden
pIwrxxxxxxxxxxxxxxxxxxxxxxxxxxxx