BB

technology and craziness.

BB

technology and craziness.

OverTheWire - Bandit - Level 13 → Level 14

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: bandit13
Password: 8Zjyxxxxxxxxxxxxxxxxxxxxxxxxxxxx

Level Goal is:

The password for the next level is stored in /etc/bandit_pass/bandit14 and can only be read by user bandit14.
For this level, you don’t get the next password, but you get a private SSH key that can be used to log into the next level.
Note: localhost is a hostname that refers to the machine you are working on

If we take a look at the folder contents, we can see the mentioned private SSH key:

1
2
bandit13@bandit:~$ ls
sshkey.private

Now just simply connect to the bandit server (which is the server we are already on) using the private key:

1
ssh -i sshkey.private bandit14@localhost -p 22