Now while being logged in as the user bandit3, you need to find the password of user bandit4 in order to complete this level.
If you haven’t completed the previous level, do check out the write-up for Level 2 to Level 3, which is present here.
Follow these steps to proceed:
- Use the
lscommand to list all the files in a directory - There is a hidden file that is present in the
inheredirectory - Use the command
ls -lato list all the files, including the hidden ones - Run the cat command as:
cat ./inhere/...Hiding-From-You - This will show you the password of the user
bandit4. Note that down and proceed forward to the next level.
Password obtained at the time of writing this write-up: 2WmrDFRmJIq3IPxneAaMGhap0pFhF3NJ
Note
Passwords on each of the levels are known to change regularly after a specific interval of time. So instead of skimming through the write-up, it is recommended to solve the challenge by hand.