Inside

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

Description

Sometimes you only know the contents of the file but not the location or name.

50pts

Question

Find a file from the system that has following line in it The cake is a lie

It is located inn one of the subfolders of /usr/

Solution

With grep tool you can find strings inside files.

Lets use grep -r "The cake is a lie" /urs/

Tools

  • grep

Flag

ctf-tech{f62cf6d8-f27f}