Bandit Level 13 → Level 14
Level Goal
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
Level Answer
1. ssh [-i identity_file][-p port] [user@]hostname
- [-i identity_file] Selects a file from which the identity (private key) for public key authentication is read.
- [-p port] Port to connect to on the remote host.
$ ssh -i sshkey.private -p 2220 [email protected]
Level Password (/etc/bandit_pass/bandit14)
4wcYUJFw0k0XLShlDzztnTBHiqxU3b3e