Now while being logged in as the user bandit2, you need to find the password of user bandit3 in order to complete this level.

If you haven’t completed the previous level, do check out the write-up for Level 1 to Level 2, which is present here.

Follow these steps to proceed:

  • Use the ls command to list all the files in a directory
  • There is a file that has spaces present in the home directory
  • Reading the file with spaces in its name is a bit difficult, so specify the filename in quotes
  • Run the cat command as: cat 'spaces in this filename'
  • This will show you the password of the user bandit3. Note that down and proceed forward to the next level.

Password obtained at the time of writing this write-up: MNk8KNH3Usiio41PRUEoDFPqfxLPlSmx

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.