Level 0 → 1

Level Goal

The password for the next level is stored in a file called readme located in the home directory. Use this password to log into bandit1 using SSH. Whenever you find a password for a level, use SSH (on port 2220) to log into that level and continue the game.

Write-Up

  1. List the content of the current directory:

ls
ls

This confirms the presence of the readme file.

  1. Display the content of the readme file:

cat readme
cat readme

This reveals the password: ZjLjTmM6FvvyRnrb2rfNWOZOTa6ip5If

  1. Use the obtained password to access the next level:

ssh [email protected] -p 2220

When prompted, enter the password retrieved from the readme file.

Lessons Learned

  • Basic file system navigation is crucial for finding information

  • Important data may be stored in plainly named files like 'readme'

  • The ls command is essential for listing directory contents

  • The cat command is useful for quickly viewing file contents

  • Always check obvious locations for information before looking elsewhere

-- Othmane

Last updated

Was this helpful?