Bandit 13

OverTheWire Bandit 13

Level Goal

The password for the next level is stored in /etc/bandit_pass/bandit14 and can only be read by user bandit14. For this level, you don’t get the next password, but you get a private SSH key that can be used to log into the next level. Note: localhost is a hostname that refers to the machine you are working on

bandit13a

In the home fodler is a ssh private key.

The password for bandit14 is under /etc/bandit_pass/bandit14.

bandit13b

We use the ssh command, along with the -i parameter to specify the private key we wish to use.

bandit13c

Once we successfully login without being prompted for a password, we can print the contents of the password file.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s