Level Goal
The password for the next level is stored in a file somewhere under the inhere directory and has all of the following properties:Commands you may need to solve this level
human-readable
1033 bytes in size
not executable
ls, cd, cat, file, du, findSolution:
- [Comment] Using SSH to connect the server
- sp@simple-plan:~|=> ssh bandit5@bandit.labs.overthewire.org
...
bandit5@bandit.labs.overthewire.org's password: koReBOKuIDDepwhWk7jZC0RTdopnAYKh - [Comment] Using ls command to list directory contents
- bandit5@melinda:~$ ls
inhere - [Comment] Using cd command to change the shell working directory
- bandit5@melinda:~$ cd inhere/
- bandit5@melinda:~/inhere$ ls
maybehere00 maybehere02 maybehere04 maybehere06 maybehere08 maybehere10
maybehere12 maybehere14 maybehere16 maybehere18
maybehere01 maybehere03 maybehere05 maybehere07 maybehere09 maybehere11
maybehere13 maybehere15 maybehere17 maybehere19 - [Comment] Using find command to find the specific file
- [Comment] human-readable : -readable option
- [Comment] 1033 bytes in size : -size 1033c option
- [Comment] not executable : ! -executable option
- bandit5@melinda:~/inhere$ find -readable -size 1033c ! -executable
./maybehere07/.file2 - [Comment] Using cat command to output file's contents
- bandit5@melinda:~/inhere$ cat ./maybehere07/.file2
DXjZPULLxYr17uwoI01bNLQbtFemEgo7 - [Comment] Using exit command to disconnect connection to server
- bandit5@melinda:~/inhere$ exit
logout
Connection to bandit.labs.overthewire.org closed. - [Comment] It's done! Saving the password for next level.
No comments:
Post a Comment