overthewire-writeups

Bandit10 -> 11: Base64 Decoding

Challenge

Level Description

The password for the next level is stored in the file data.txt, which contains Base64 encoded data. Base64 is a way of representing binary data in an ASCII string format, often used in emails or web applications.

The Process

When I opened data.txt, I saw a long string of characters ending with an equals sign =, which is a classic indicator of Base64 encoding. It isn’t encrypted, just “translated” into a different format.

To get the password, I needed to decode it back into a human-readable string. Linux has a built-in tool called base64 that can handle this perfectly.

Here is the command I used:

$ base64 -d data.txt

The -d flag stands for decode. As soon as I ran it, the encoded block disappeared, and the plain text password for the next level was revealed.

Password For the Next Level

[SPOILER]

What I Learned

Helpful Reading Material