Level 3 → 4

Level Goal

The password for the next level is stored in a hidden file in the inhere directory.

Write-Up

  1. List the content of the current directory to verify the existence of inhere directory:

ls
ls
  1. Navigate to the inhere directory and list all files, including hidden ones:

cd inhere
ls -a
cd inhere & ls -a

This reveals the presence of a hidden file named ...Hiding-From-You.

  1. Display the content of the hidden file:

cat ...Hiding-From-You
cat ...Hiding-From-You

This command reveals the password: 2WmrDFRmJIq3IPxneAaMGhap0pFhF3NJ

  1. Access the next level using the obtained password:

ssh [email protected] -p 2220

Enter the password when prompted.

Lessons Learned

  • Hidden files in Unix systems start with a dot .

  • The ls -a command shows all files, including hidden ones

  • Hidden files can be accessed and read like any other file

  • Important information may be concealed in hidden files

-- Othmane

Last updated

Was this helpful?