The clue is ‘ The password for the next level is stored in a hidden file in the inhere directory. ‘ . Login with the password found on the previous level by username ‘bandit3’.

Use ‘pwd’ and ‘ls’ command to locate the directory on home, and see the file instead the home directory. With ‘file’ command, we can see that inhere is a directory, use ‘cd’ command to get in the directory. The clue is ‘inhere’, after get in inhere directory, use ‘ls -la’ command to showed up all the files in this directory, both hidden or not.

We can see some hidden file with dot before the filename of hidden file, with ‘file’ command, we can see this file type is ASCII text. We can use ‘cat’ command to see the password inside this file.

Use this password to login SSH for the next level.
Leave a comment