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.
ls , cd , cat , file , du , find
bandit0@bandit:~$ ls --help
Usage: ls [OPTION]... [FILE]...
--------------------------------
bandit0@bandit:~$ ls
readme
Use the `ls` command to check the files and directories in the current directory.
We can see the file named `readme`, which contains the password.
bandit0@bandit:~$ cat --help
Usage: cat [OPTION]... [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, walthrough 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: ZjLjTmM6FvvyRnrb2rfNWOZOTa6ip5If
We can use the `cat` command to display the contents of the files.
By doing so, we found the password for the next level.
We also found out when we log in to the remote host using SSH, we will land in the home directory by default.
Next Level : Level 1 -> 2
Bandit Level 4 -> Level 5 (0) | 2024.08.12 |
---|---|
Bandit Level 3 -> Level 4 (0) | 2024.08.10 |
Bandit Level 2 -> Level 3 (0) | 2024.08.07 |
Bandit Level 1 -> Level 2 (0) | 2024.08.05 |
Bandit Level 0 (0) | 2024.08.02 |