BanditOverTheWire

Bandit3

Website URL: http://overthewire.org/wargames/bandit/bandit3.html

Let us begin by logging into bandit2 from the password obtained in Bandit2

Reading through the OverTheWire webpage for bandit3, we see:

The password for the next level is stored in a file called spaces in this filename located in the home directory

Let’s run a ls command and see it’s output:

ls
Fig 2

For any file with space character in filename, we use a backslash (‘\’) before a space to make sure the spaces are parsed as a part of the filename string. So, our cat command looks as follows:

cat spaces\ in\ this\ filename
Fig 3.

And the output we get is the password to bandit3.

Leave a Reply

Your email address will not be published. Required fields are marked *