Find-me

From Pessin randon wiki
Revision as of 11:45, 26 September 2022 by Exf (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Find me

Description

Sometimes you only know the filename but not the location.

50pts

Question

Find a file from the system that is named find-flag.txt

It is located in one of the subfolders of /etc/

Solution

We can use tool called find to find the file.

find /etc/ -name find-flag.txt With this we get the file location. Then we can just print the contents of the file out to the screen with cat /etc/tools/magic/find-flag.txt

Tools

  • find
  • cat

Flag

ctf-tech{df504b2f-6508}