https://overthewire.org/wargames/bandit/bandit1.html
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
We're staring off with a very easy task. Let's just look at the contents of the readme
file using cat
. We can check that we're already in the home
directory by using pwd
:
bandit0@bandit:~$ pwd
/home/bandit0
we can use ls
to see what files are in this directory and confirm that it does in fact contain a file called readme
:
bandit0@bandit:~$ ls
readme
Now we can use cat
to look at the contents of the readme
file:
bandit0@bandit:~$ cat readme
NH2SXQwcBdpmTEzi3bvBHMM9H66vVXjL
<<< Previous Task (Level0) | ...................................................................... | Next Task (Level1) >>> |
---|