OverTheWire Bandit Level 14->Level 15 - Walkthrough

Cybersecurity - OverTheWire Bandit Solutions
OverTheWire Bandit Solutions


Introduction
In this post, I will be giving you a walkthrough to the Bandit wargame Level 14->Level 15. The new command used to clear this level is "nc". We will submit the password to localhost using "nc" command and get the password for next level in return.

Goal
Get the password for the next level by submitting the password of the current level to port 30000 on localhost.

Login Details
Server - bandit.labs.overthewire.org
Port - 2220
Username - bandit14
Password - fGrHPx402xGC7U7rXKDaxiWFTOiFØENq

Theory
nc or netcat command is used for reading and writing data on a computer network. It can communicate using either TCP or UDP protocol. Syntax is as following-:

  • nc [options] <host> <port>
To know more about the nc command, I would recommend you to go through this article.

Solution
SSH into the user bandit14 using the command "ssh bandit14@bandit.labs.overthewire.org -p 2220" and the above password. Now, pass the password of the current level to the nc command to get the next level's password. Type the command "echo fGrHPx402xGC7U7rXKDaxiWFTOiFØENq | nc localhost 30000".


This completes this level as we have got the password.
I would highly encourage you to explore the command "telnet" and clear this level using it. There are other ways also to clear this level, it will be useful to explore more on the various ways to clear the level. Please post your doubts and recommendations in the comment section.

Comments

Popular Posts