CTF

Level 5 - Find password in the only human readable file inside inhere directory (Misc)

Description

The goal of this level is to get the password for the next level stored in the only human readable file inside the inhere directory

Tech used

  • cat
  • cd
  • file
  • grep

Solutions

Run ssh bandit4@bandit.labs.overthewire.org -p 2220. Password is 2WmrDFRmJIq3IPxneAaMGhap0pFhF3NJ

  • Determine the file with ASCII text and print its output
    • Run cd inhere
    • Run file ./* | grep ASCII
    • Run cat ./<file> where <file> is the file with ASCII text as shown by the file command

Notes