Level 2 → 3
Level Goal
The password for the next level is stored in a file called spaces in this filename located in the home directory.
Write-Up
Verify the file's presence in the home directory:
ls
This confirms the existence of a file named spaces in this filename.
Display the content of the file:

Note: To handle spaces in filenames, you can either use backslashes to escape each space or enclose the entire filename in quotes "".

The revealed password is: MNk8KNH3Usiio41PRUEoDFPqfxLPlSmx
Access the next level using the obtained password:
Enter the password when prompted.
Lessons Learned
Filenames can contain spaces
Backslashesare used to escape spaces in filenames on the command lineAlternative methods like using quotes
""can also be used to handle spaces in filenamesProper handling of special characters in filenames is crucial for file operations
-- Othmane
Last updated
Was this helpful?