Level Goal
The password for the next level is stored in a hidden file in the inhere directory.Commands you may need to solve this level
- ls
- cd
- cat
- file
- du
- find
Helpful Reading Material
- Nothing provided, but if you are not familiar with Linux hidden files, I suggest you learn about them.
- Related to the previous statement, also look into how to view hidden files using the ls command.
This is similar to the last one, except the password is stored in a file that is known as a hidden file. This basically means that the filename is prefixed with a '.'. In this case the file is ".hidden" in the "inhere" folder. The simplest way to accomplish this is to have auto-complete turned on in bash and type "inhere/" and then press tab and bash will fill in the ".hidden" file for you. If there were more files in this folder bash would provide you with a list of files to choose from. If you want another way to find the file, use the ls command. You'll need to pass the -a flag to tell the ls command to show you all files in the folder. The command should look like this:
ls -a ./inhereHowever you find the hidden file, the command to show the file contents should look similar to the following (depending on whether you changed directories or not):
cat ./inhere/.hiddenLog into bandit4 using the results of this command as the password.
No comments:
Post a Comment