OverTheWire: Bandit Level 1

dev.to

Using ssh, ls, cat, cd on Command Line

Things to do:

  1. ssh into the host bandit.labs.overthewire.org (incase you are not logged in. But if you are already logged in, skip this step and go to number 5)
  2. port 2220
  3. username bandit0
  4. password bandit0
  5. Use ls to find home and cd home to be there
  6. open the readme and copy the new password
  7. ssh into bandit1
  8. enter the new password copied

Remember to save these passwords in a note app for future references

ls 
cd home
cat readme

copy the password 

exit (to logout from bandit0)

#ssh into bandit1 using the password we copied from readme as our new password 

ssh bandit1@bandit.labs.overthewire.org -p 2220

enter new password - ZjLjTmM6FvvyRnrb2rfNWOZOTa6ip5If

Enter fullscreen mode Exit fullscreen mode

You have successfully logged in and completed bandit level 1!!

See you in level 2!

Source: dev.to

arrow_back Back to News