Login

  • ssh : ssh bandit4@bandit.labs.overthewire -p 2220
  • password : 2WmrDFRmJIq3IPxneAaMGhap0pFhF3NJ

Task

  • find the human readable file in the inhere directory

Solution

  • as the in the bandit2 level all the files starts with - which means if we gonna use them I have to start each one with ./ .
  • in this level I used the command file the check which file is human readable which means it should contain text
  • to select all files all at once we gonna use the *
cd inhere
file ./*
  • this should display all the files with their type