Bandit Level 10 → 11
Login: ssh bandit10@bandit.labs.overthewire.org -p 2220
Password: FGUW5ilLVJrxX9kMYMmlN4MgbpfMiqey
task
The password for the next level is stored in the file data.txt, which contains base64 encoded data.
theory lil bit
- Base64: This is a group of binary-to-text encoding schemes that represent binary data in an ASCII string format. It is commonly used when there is a need to encode binary data that needs to be stored and transferred over media that are designed to deal with textual data.
- base64 command: This utility is used to encode or decode data.
- The
-d(or--decode) flag is used to transform base64 encoded data back into its original plaintext form.
- The
- Identification: You can often recognize Base64 by its character set (A-Z, a-z, 0-9, +, /) and the use of
=padding at the end of the string.
solution
bandit10@bandit:~$ ls
data.txt
bandit10@bandit:~$ cat data.txt
VGhlIHBhc3N3b3JkIGlzIGR0UjE3M2ZaS2IwUlJzREZTR3NnMlJXbnBOVmozcVJyCg==
bandit10@bandit:~$ base64 -d data.txt
The password is dtR173fZKb0RRsDFSGsg2RWnpNVj3qRr
<!-- truncate -->
