Abno's blog

Bandit Level 13-14

This level tests our ability to connect using the ssh and a private key.

The task is simple - just login as bandit14.

The -i flag makes ssh use the private key from a file instead of asking for a password.

ssh -i sshkey.private bandit14@localhost

Then we can display the content of /etc/bandit_pass/bandit14 which contains the password - just like the task explained. We couldn't have done this before as we did not have the permission to.

cat /etc/bandit_pass/bandit14

#bandit #ctf #overthewire