Overthewire-Bandit Level 1 -> 2
Ref:
Bandit Level 1 → Level 2
Level Goal The password for the next level is stored in a file called - located in the home directory
Commands you may need to solve this level ls , cd , cat , file , du , find
# Helpful Reading Material
# Example:
1
2
bandit0@bandit:/home/bandit1$
du -ah /home/bandit1
Output:
1
2
3
4
5
4.0K /home/bandit1/.bash_logout
4.0K /home/bandit1/.bashrc
4.0K /home/bandit1/.profile
4.0K /home/bandit1/-
20K /home/bandit1
#
SSH
Use the bandit0 password to login
1
ssh -p 2220 bandit1@bandit.labs.overthewire.org
Command
1
2
3
4
5
bandit1@bandit:/home$ cd bandit1
bandit1@bandit:~$ ls
-
bandit1@bandit:~$ cat ./-
263JGJPfgU6LtdEvgfWU1XP5yac29mFx
This post is licensed under CC BY 4.0 by the author.
