Bandit Level 15 Solution

Bandit level 15 is similar to the previous level but we connect to the machine using SSL where it provides a secure connection.

Let’s start by logging into the bandit level 15 machine

ssh bandit15@bandit.labs.overthewire.org -p 2220

with the password we got from the previous level

BfMYroe26WYalil77FoDi9qh59eK5xNr

Let’s use OpenSSL to connect to the port.

openssl s_client -connect localhost:30001

Let’s Explain the above command

  • openssl
  • s_client implements a generic SSL client which connects to a remote host using SSL, you can check for more information from here
  • -connect to initiate the connection to the server

After we successfully connect, let’s send the password for this level to get the password for the next level.

cluFn7wTiGryunymYOu4RcffSxQluehd