Level Goal
The password for the next level is stored in the file data.txt, which contains base64 encoded dataCommands you may need to solve this level
grep, sort, uniq, strings, base64, tr, tar, gzip, bzip2, xxdHelpful Reading Material
Base64 on WikipediaSolution:
- [Comment] Using SSH to connect the server
- sp@simple-plan:~|=> ssh bandit10@bandit.labs.overthewire.org
...
bandit10@bandit.labs.overthewire.org's password: truKLdjsbJ5g7yyJ2X2R0o3a5HQJFuLk - [Comment] Using ls command to list directory contents
- bandit10@melinda:~$ ls
data.txt - [Comment] Using cat command to output file's contents
- bandit10@melinda:~$ cat data.txt
VGhlIHBhc3N3b3JkIGlzIElGdWt3S0dzRlc4TU9xM0lSRnFyeEUxaHhUTkViVVBSCg== - [Comment] Using base64 command with --decode option to decode the cipherytext
- bandit10@melinda:~$ base64 --decode data.txt
The password is IFukwKGsFW8MOq3IRFqrxE1hxTNEbUPR - [Comment] Using exit command to disconnect connection to server
- bandit10@melinda:~$ exit
logout
Connection to bandit.labs.overthewire.org closed. - [Comment] It's done! Saving the password for next level.
Single command:
ReplyDeletecat data.txt | base64 -d