OverTheWire Link to heading

Bandit Link to heading

  • This is a beginner level challenge which should be solvable using only basic builtin *nix commands.

Level 0 Link to heading

Goal is to connect to the server using ssh.

Address: bandit.labs.overthewire.org
Port: 2220
Username: bandit0
Password: bandit0

Command: ssh -p 2220 bandit0@bandit.labs.overthewire.org

Successful Login

Password for next level is is stored here in a readme located in home directory we can use this password to log into bandit1 again on the same ssh port Link to heading

Password found for level 1: 6y2kwnwK6grgvwvpvLaa2T1cpFEKOhNR

Password Found

Level 1 Link to heading

Password located in a file with filename -.

cat - seems to not work since that is filename with a special character trying another approach.

Tryging cat the file

cat ./- worked password for next level is

PK8fYLZg2hnHSz83plBL1iEPKdD3QToB

Tryging cat the file