OverTheWire Bandit - LVL10 (Complete)

The goal for → LVL 10::

Level Goal:

→ The password for the next level is stored in the file data.txt, which contains base64 encoded data

Commands you may need to solve this level: → grep, sort, uniq, strings, base64, tr, tar, gzip, bzip2, xxd

Explanation:

Password for Bandit10 Access: FGUW5ilLVJrxX9kMYMmlN4MgbpfMiqey

First, ssh into Bandit Lvl 10. We can do this by entering the following:

ssh bandit10bandit.labs.overthewire.org -p2220

You’ll then be asked top enter the password for Bandit10. Type it in and press enter (REMEMBER, you wont see the password type out on screen so type it carefully and correctly).

Once this is done you’ll successfully connect.


As stated initially, the data.txt file in the bandit10 server contains base64 encoded data, therefore we will be using the base64 command to deal with such a task.

Base64 is a way to convert binary data (like images or files) into text so it can be easily sent or stored in text-based systems (like emails). The base64 command in Unix/Linux lets you encode data into Base64 or decode it back to its original form.

For example:

  • base64 file.txt: Encodes file.txt to Base64.

  • base64 --decode encoded.txt: Decodes the Base64 text in encoded.txt back to its original format.

It's useful for handling data in environments that only support text.

The command base64 --decode data.txt decodes the contents of data.txt from Base64 back to its original binary format. Here's a breakdown:

  • base64: Invokes the Base64 encoding/decoding tool.

  • -decode: Tells base64 to decode the input rather than encode it.

  • data.txt: Specifies the file to be decoded.

In this context, data.txt is expected to contain data encoded in Base64. The command will convert this encoded data back into its original form and output it to the terminal as seen in the image below.


The password for Level 11 access is: dtR173fZKb0RRsDFSGsg2RWnpNVj3qRr

That is Bandit Level 10 complete, Head over to Bandit Level 11!


0
Subscribe to my newsletter

Read articles from Mike Kobbie Tieku TABI directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Mike Kobbie Tieku TABI
Mike Kobbie Tieku TABI