Skip to content

Latest commit

 

History

History
23 lines (23 loc) · 881 Bytes

l5.md

File metadata and controls

23 lines (23 loc) · 881 Bytes

Level 5

First we connect to the server using ssh
Inside the inhere directory there are many folders. We use find command to get the required file according to the given parameters

Commands-

ssh [email protected] -p 2220

cd inhere

find . -readable -size 1033c ! -executable
find is used to find single or multiple files satisfying some given conditions.
. tells find to begin the search from the current directory
-readable tells find that the file should be readable by the current user.
-size 1033c tells find that the file size should be 1033 bytes.
! -executable tells find that the file is not an executable.
On running the command we get output as
./maybehere07/.file2
So our next step is...

cat ./maybehere07/.file2

Flag - P4L4vucdmLnm8I7Vl7jG1ApGSfjYKqJU