OverTheWire - Bandit - Level 14 → Level 15

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: 22
Username: bandit14
and the private key from the level before!

Level Goal is:

The password for the next level can be retrieved by submitting the password of the current level to port 30000 on localhost.

From the last level we know that the password is stored at '/etc/bandit_pass/bandit14'.

bandit14@bandit:~$ cat /etc/bandit_pass/bandit14
4wcYxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Finally connect to port 30000 at localhost and enter the password from above:

bandit14@bandit:~$ nc localhost 30000
4wcYxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Correct!
BfMYxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Show Comments