OverTheWire: Bandit Level 0

https://overthewire.org/wargames/bandit/bandit0.html

The goal of this level is for you to log into the game using SSH. The host to which you need to connect is bandit.labs.overthewire.org, on port 2220. The username is bandit0 and the password is bandit0. Once logged in, go to the Level 1 page to find out how to beat Level 1

ssh

> whatis ssh 
ssh (1) — OpenSSH remote login client

Known Information

  • Username : bandit0
  • Hostname : bandit.labs.overthewire.org
  • Port : 2220
  • Password : bandit0

Solution

Open Terminal (On Windows use PowerShell)

To login into Level 0 we have to make use of SSH command.

To start a SSH session type the command :
ssh <username>@<hostname> -p <port> and press Enter

Note : If asked to accept any fingerprint type “yes” and press Enter

When asked for password enter bandit0 and press Enter

> ssh bandit0@bandit.labs.overthewire.org -p 2220 
This is a OverTheWire game server. More information on http://www.overthewire.org/wargames
bandit0@bandit.labs.overthewire.org’s password: bandit0

If login was successful you will see an banner that looks as follows :

OverTheWire Bandit SSH Login Banner

To quit the SSH session type exit or use the keyboard shortcut Ctrl + D

Data Engineer | Cyber Security Enthusiast