
Bandit: Level 13 => Level 14
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. Here are the details which we have from the previous level: Host: bandit.labs.overthewire.org Port: 2220 Username: bandit13 Password: FO5dwFsc0cbaIiH0h8J2eUks2vdTDwAn So, The SSH syntax will be: sshpass -p FO5dwFsc0cbaIiH0h8J2eUks2vdTDwAn ssh [email protected] -p 2220 The password for the next level is stored in /etc/bandit_pass/bandit14 and can only be read by the user bandit14. For this level, we don’t get the next password, we get a private SSH key that can be used to log into the next level. So, Let’s copy that private SSH key to our box, and login using private ssh in the next level account. ...