Menu

OverTheWire Bandit Level 10 Writeup — Decode a Base64-Encoded Password
📰

OverTheWire Bandit Level 10 Writeup — Decode a Base64-Encoded Password

DEV Community: beginners·CTFDojo·9 days ago
#vsG8ZHav
#devtobeginners#devto#dev#base64#password
Reading 0:00
15s threshold

data.txt holds the password encoded in base64 — the base64 command's -d flag decodes it directly back to plain text.

Platform: OverTheWire Bandit

Category: Linux Fundamentals

Level: 10 → 11

Difficulty: Beginner

Technique: base64 decoding

Challenge description

No searching or filtering this time — the file is small and its entire content is the password, just run through base64 encoding first.

"Level Goal: The password for the next level is stored in the file data.txt, which contains base64 encoded data."

Step 1 — Look at the raw content

Log in as bandit10 and view the file directly — it's short, and clearly made up only of base64's alphabet (letters, digits, + , / , and padding = characters):

cat data.txt

Enter fullscreen mode

Exit fullscreen mode

VGhlIHBhc3N3b3JkIGlzIC4uLg==

Enter fullscreen mode

Exit fullscreen mode

Step 2 — Decode it

The base64 utility's -d (decode) flag reverses the encoding directly:

base64 -d data.txt

Enter fullscreen mode

Exit fullscreen mode

[PASSWORD FOR…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.