Bandit 18

OverTheWire Bandit 18

Level Goal

The password for the next level is stored in a file readme in the homedirectory. Unfortunately, someone has modified .bashrc to log you out when you log in with SSH.

bandit18a

Using the password we learned in the last level (kfBf3eYk5BPBRzwjqutbbfE887SVc5Yd), we run ssh bandit18@127.0.01 ls command to see files in the home folder.

bandit18b

We can now run ssh bandit18@127.0.0.1 cat readme to see the password within.

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