All levels

Bandit · Level 10

Level 10

Login

SSH: ssh [email protected] -p 2220

Challenge URL: https://overthewire.org/wargames/bandit/bandit11.html

Task

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

Solution

Let's see the files present:

bandit10@bandit:~$ ls
data.txt
bandit10@bandit:~$ file data.txt
data.txt: ASCII text
bandit10@bandit:~$ wc -l data.txt
1 data.txt
bandit10@bandit:~$ cat data.txt
VGhlIHBhc3N3b3JkIGlzIHBZZk9ZNkh3VXNEajVyTDlVdnloVTdNQ212OHZONVJvCg==

Use base64 -d to decode the base64 string.

One liner: cat data.txt | base64 -d