Level Goal
The password for the next level is stored in a file called - located in the home directoryCommands you may need to solve this level
ls, cd, cat, file, du, findHelpful Reading Material
Google Search for "dashed filename"Solution:
Advanced Bash-scripting Guide - Chapter 3 - Special Characters
- [Comment] Using SSH to connect the server
- sp@simple-plan:~|=> ssh bandit1@bandit.labs.overthewire.org
...
bandit1@bandit.labs.overthewire.org's password: boJ9jbbUNNfktd78OOpsqOltutMc3MY1 - [Comment] Using ls command to list directory contents
- bandit1@melinda:~$ ls
- - [Comment] Using cat command to output file's contents
- bandit1@melinda:~$ cat ./\-
CV1DtqXWVFXTvM2F0k09SHz0YwRINYA9 - [Comment] Using exit command to disconnect connection to server
- bandit1@melinda:~$ exit
logout
Connection to bandit.labs.overthewire.org closed. - [Comment] It's done! Saving the password for next level.
ssh http://linuxcommand.org/man_pages/ssh1.html ls http://linuxcommand.org/man_pages/ls1.html cat http://linuxcommand.org/man_pages/cat1.html exit http://linuxcommand.org/man_pages/logout1.html
No comments:
Post a Comment