Note:- don't forget to logout before moving to next level
Level0
Question:-The goal of this level is for you to log into the game using SSH. The host to which you need to connect is bandit.labs.overthewire.org, on port 2220. The username is bandit0 and the password is bandit0.
Answer:-ssh bandit0@bandit.labs.overthewire.org -p 2220
Level0 -> Level1
Question:-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.
Answer:-
ls
cat readme
ssh bandit1@bandit.labs.overthewire.org -p 2220
Level1 -> Level2
Question:-The password for the next level is stored in a file called - located in the home directory.
Answer:-
cat ./-
ssh bandit2@bandit.labs.overthewire.org -p 2220
Level2 —> Level3
Question:-The password for the next level is stored in a file called spaces in this filename located in the home directory.
Answer:-
cat spaces\ in\ this\ filename
ssh bandit3@bandit.labs.overthewire.org -p 2220
Level3 —> Level4
Question:-The password for the next level is stored in a hidden file in the inhere directory.
Answer:-
ls -a
ls -a
cat .hidden
ssh bandit4@bandit.labs.overthewire.org -p 2220
Level4 —> Level5
Question:-The password for the next level is stored in the only human-readable file in the inhere.
Answer:-
ls -a
ls -a
file -/*
ssh bandit5@bandit.labs.overthewire.org -p 2220
Top comments (0)