Goal: Find the password and log into level 1. The password is known to be hidden in the readme file.
To find the password for level 1 we will need to learn how to read files on the machine. First, let’s find out what files we can see with the ls
command.
We can see the readme file we are after! To read this file we can use the cat
command to read the file.
bandit0@bandit:~$ cat readme
Congratulations on your first steps into the bandit game!!
Please make sure you have read the rules at https://overthewire.org/rules/
If you are following a course, workshop, walkthrough or other educational activity,
please inform the instructor about the rules as well and encourage them to
contribute to the OverTheWire community so we can keep these games free!
The password you are looking for is: [REDACTED]
Yours will say the actual password where it says [REDACTED]
and this is what we will use to sign into level 1!
We can use the exit
command to sign out of the ssh shell and sign into level 1 with:
Use the password we found from readme
and this will complete level 1!