OverTheWire Bandit Write Up – Level 14

The last level seemed a little too easy. However, since level 12 I think they might all start feeling on the easy side. That leads us nicely to Bandit Level 14. Quickly though. If you haven’t had a chance to read my OverTheWire Bandit Write Up – Level 13 write up, give it a quick read then head back over here. Now we can continue on.

Level 14

Having a look on the OverTheWire website about bandit level 14. I don’t get a whole lot of information. From what I can ascertain, I need to submit the password from the last level to `localhost` on port 30000.

Let’s Start Hacking Then

As with all these levels I need to start with a fresh terminal. Once it’s up and running I run the following command to initiate the connection.

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

When prompted I enter the password I gained from the last level and I’m ready to play.

I take a look around in the home directory, just to check if anythings been left for me. I run the ls command, but there’s nothing else here.

My first thought was to try and use ssh to connect on port 30000 but I know that if the SSH server is running on port 2220 and 30000 I would just be presented with the a shell and not a password. So that’s no good.

Secondly I thought “what if I use the nc command?”. I know from looking at the man page I can send a password to that and it should reply to me. So let’s give it a try. I run the following command to open a TCP connection.

nc localhost 30000

Once it initialised I pasted in the password from the previous level.


And was presented with the word Correct! …and Wham! Bam! Thank you ma’am! I have the password now for level 15.

Level 14 Complete

I have hidden the password here, if you are playing along don’t peek! Please! It’s more fun getting it yourself.

Leave a Reply