First Find (picoCTF 21)

Challenge Author: LT ‘SYREAL’ JONES

Category: General Skills

Difficulty: Easy

Description

Unzip this archive and find the file names ‘uber-secret.txt’

Process / Notes

  1. wget and unzip
  2. Saw the file briefly in the unzip
  3. Tried to grep it, but wasn’t successful even with a recursive grep
  4. Sounds like the find command is the way to go
  5. find 'uber-secret.txt'
  6. Wait! I need to add the -name option –> find -name 'uber-secret.txt'
  7. Got the file path to the file
  8. cat <file/path/uber-secret.txt> recealed the flag

5 minutes 30 seconds to complete

Hints

None

Core Lessons

  1. Understand how to locate a file with the find -name <file-name> command
  2. Understand how to work with the file once you’ve found it