CTF

Level 3 - Find password in file named "spaces in this filename" (Misc)

Description

The goal of this level is to get the password for the next level stored in a file called spaces in this filename

Tech used

  • cat
  • find
  • [ls]

Solutions

Run ssh bandit2@bandit.labs.overthewire.org -p 2220. Password is 263JGJPfgU6LtdEvgfWU1XP5yac29mFx

  • Find spaces in this filename & print output
    • Run find . -name "spaces in this filename" -exec cat {} ';'
  • List directory & print output
    • Run ls to check if spaces in this filename is present
    • Run cat spaces\ in\ this\ filename