Skip to content
Default image

OVERTHEWIRE – BANDIT LEVEL 10 -> LEVEL 11

ssh bandit10@localhost
truKLdjsbJ5g7yyJ2X2R0o3a5HQJFuLk

or if you are no longer logged in as bandit9:

ssh bandit10@bandit.labs.overthewire.org -p 2220
truKLdjsbJ5g7yyJ2X2R0o3a5HQJFuLk

Let’s see what we need to do in order to advance to level 11. The password is stored in the file data.txt , which contains base64 encoded data.

Like in the previous level, the data.txt file is locate in our current working directory

base64 is a technique to encode and decode binary data to an ASCII text format and vice versa. If we cat our file we can see the encoded information. It uses alphabet, number and ‘=’ symbol are used to encode data.

We need to decode the string in order to get the password and advance to next level. But how do we do this?

You could use an online convertor. But there is a simpler method and can be done from your command line.

cat data.txt | base64 -d

we pipe the cat command result to base64 -d 

base64 -d -> will decode the string (you can use -d or --decode )