The password for the next level is stored in a file somewhere under the inhere directory and has all of the following properties:
1033 bytes in size
Commands you may need to solve this level: ls, cd, cat, file, du, find
So lets go to the inhere directory and do an ‘ls -la’ to list the contents. We see a lot of directories. Lets read the manpage to learn more about the ‘ls’ command.
So reading through the text we can see the subdirectories with -R. Lets try this
Yeah there are a lot of files. Lets see if we can find the right file with the ‘find command’, but first read the manpage to narrow down the specifications of the file so it only shows the file with 1033 bytes, that is human readable and is not executable.
So we need the options -readable, -size c (for bytes) and -executable. Lets try this command:
find -readable -size 1033c -executable
Didn’t found any, this is because the -executable is checking for executable files and the file wasn’t. I should read the assignment better next time, but it’s okay to make mistakes. We do this to learn! Lets run it without the -executable
find -readable -size 1033c
Now we only see one file with the path: ./maybehere07/.file2, lets ‘cat’ this file.
there is the password.