Bandit Level 14 Solution

Bandit level 14 is a continue to level 13 where you have to get the SSH private key, but in this level you have to login to the server with the SSH from the previous server

let’s login to bandit level 14

ssh -i private_key -p 2220

To finish this level, we need to send the current user password ( that is saved in /etc/bandit_pass/banditx), so let’s get the current user password

cat /etc/bandit_pass/bandit14

and you should get the following password


now, it’s time to send the password to port 30000, we can simply use telnet to connect to the machine and send the message

telnet localhost 30000

let’s then send the password above, and the system should reply with the next level’s password