Bandit 1 ( 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.
Commands you may need to solve this level
ls , cd , cat , file , du , find
TIP: Create a file for notes and passwords on your local machine!
Passwords for levels are not saved automatically. If you do not save them yourself, you will need to start over from bandit0.
Passwords also occassionally change. It is recommended to take notes on how to solve each challenge. As levels get more challenging, detailed notes are useful to return to where you left off, reference for later problems, or help others after you’ve completed the challenge.
Solving
SSH into bandit0 user:
ssh -p 2220 bandit0@bandit.labs.overthewire.org

Now provide the password:
bandit0

After ssh successfully, let's try to capture the flag. So, I basically just list all the files:
ls -a

We can see that there's a file called "readme", looks like what we're looking for. Let's take a look at it.
cat readme

There we go, we captured our flag.
ZjLjTmM6FvvyRnrb2rfNWOZOTa6ip5If
Remember that the flag we captured in each levels will be mostly used as a ssh key to the next level.
Last updated