Tuesday, June 23, 2015

OverTheWire - Bandit - Level 3

Level Goal

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

Commands you may need to solve this level

  • ls
  • cd
  • cat
  • file
  • du
  • find

Helpful Reading Material


This is similar to the last one, except there are spaces in the filename that you will have to provide escape characters to pass. If you have auto-complete turned on in bash you can type "spaces" then press tab and bash will auto complete it for you.
Alternatively, you can manually type it out like the following:
cat ./spaces\ in\ this\ filename

Or you can even just surround the filename in quotes like this:
cat "./spaces in this filename"
Log into bandit3 using the results of this command as the password.

No comments:

Post a Comment