Over The Wire


Bandit

Host: bandit.labs.overthewire.org

Port: 2220



Level 1

ssh bandit1@bandit.labs.overthewire.org -p 2220
password: NH2SXQwcBdpmTEzi3bvBHMM9H66vVXjL

Objective:

The password for the next level is stored in a file called "-" located in the home directory.

  • Use flow redirection to read the file.

CLI:

bandit1@bandit:~$ ls
-
bandit1@bandit:~$ cat < -
rRGizSaX8Mk1RTb1CNQoXTcYZWU6lgzi

Bandit