Bandit Level 13

OverTheWire-Level Directory
Previous Level: 12

Level 13 Fight!

If you are currently in a level type “logout”

Now type “ssh bandit13@bandit.labs.overthewire.org -p 2220”
Password:”8ZjyCRiBWFYkneahHwxCv3wb2a1ORpYL”
We are now into level 13

For this level we are told

“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”

“ls “ to show files/folders

We then see “sshkey.private”

lets try to login with this ssh key

We know the user is “bandit14” and the address is “local host” and even the key!

“ssh bandit14@localhost -i sshkey.private”

Lets look at that file path

“cat /etc/bandit_pass/bandit14”

It then shows us a password

“4wcYUJFw0k0XLShlDzztnTBHiqxU3b3e”

Once again we can use
“ssh bandit14@bandit.labs.overthewire.org -p 2220”
and the password we just found to login to the next level

Next Level: 14