Post

Overthewire-Bandit Level 2 -> 3

image


Ref:


Bandit Level 2 → Level 3

Bandit Level 2 → Level 3 Level Goal The password for the next level is stored in a file called –spaces in this filename– located in the home directory

Commands you may need to solve this level ls , cd , cat , file , du , find

Helpful Reading Material Google Search for “spaces in filename”

#

SSH

1
ssh bandit2@bandit.labs.overthewire.org -p 2220

Command:

1
2
3
4
5
6
7
8
bandit2@bandit:~$ ls
--spaces in this filename--

bandit2@bandit:~$ cat -- '--spaces in this filename--'

MNk8KNH3Usiio41PRUEoDFPqfxLPlSmx

bandit2@bandit:~$
This post is licensed under CC BY 4.0 by the author.