First Grep
Information
Points | Category | Level |
---|---|---|
100 | General Skills | Easy |
Challenge
Can you find the flag in file? This would be really tedious to look through manually, something tells me there is a better way. You can also find the file in /problems/first-grep_2_04dbf496b78e6c37c0097cdfef734d88 on the shell server.
Hint
grep tutorial
Solution
Let’s download the file, it’s full in garbage. The name of the challenge is grep so let’s use it.
open terminal -> move to the folder of the file (by cd) -*> grep “picoCTF” file
- grep - the grep command search a pattern in the text
- command syntax:
grep “PATTERN” FILENAME
- command syntax:
Flag
picoCTF{61}