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
List the content of the current directory:
ls

This confirms the presence of the readme file.
Display the content of the readme file:
cat readme

This reveals the password: ZjLjTmM6FvvyRnrb2rfNWOZOTa6ip5If
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 contentsThe
cat
command is useful for quickly viewing file contentsAlways check obvious locations for information before looking elsewhere
-- Othmane
Last updated
Was this helpful?