OverTheWire Bandit Level 10->Level 11 - Walkthrough

Cybersescurity - OverTheWire Bandit wargame solutions
OverTheWire Bandit solutions

Introduction

In this post, I will be giving you a walkthrough to the Bandit wargame Level 10->Level 11. We will be using a new command "base64" to clear this level.
The password is encoded in the file data.txt and we will be decoding it using the command "base64".

Goal

Get the password for Level 11 from the file data.txt which contains base64 encoded data.

Login Details

Server - bandit.labs.overthewire.org
Port - 2220
Username - bandit10
Password - G7w8LIi6J3kTb8A7j9LgrywtEUlyyp6s

Theory

base64 command is used to encode binary data and represent it in ASCII string format. For decoding, we will be using the flag "-d" with the command base64. This flag decodes the data to human readable format. I would recommend you to go through this article to know about various flags and examples of base64 command.

Solution

SSH into the user bandit10 using the command "ssh bandit10@bandit.labs.overthewire.org -p 2220" and the above password. Type ls to see the file "data.txt" present in the home directory of the user.


Type the command "cat data.txt" to view the base64 encoded string in the file.


Since base64 allows files as input, therefore we only need to use the command on the file to get the password. Type the command "base64 -d data.txt".


This completes the Level 10 walkthrough. Please post your doubts and suggestions in the comment section.

Comments

Popular Posts