Find-me: Difference between revisions
From Pessin randon wiki
Created page with "===Description=== Sometimes you only know the filename but not the location. 50pts ===Question=== Find a file from the system that is named <code>find-flag.txt</code> It is located in one of the subfolders of <code>/etc/</code> ===Solution=== We can use tool called <code>find</code> to find the file. <code>find /etc/ -name find-flag.txt</code> With this we get the file location. Then we can just print the contents of the file out to the screen with <code>cat /etc/tool..." |
(No difference)
|
Revision as of 11:44, 26 September 2022
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}