picoCTF 2019 First Grep Writeup

First Grep is a General Skills puzzle worth 100 points

Description

Can you find the flag in file? This would be really tedious to look through manually, something tells me there is a better way.

This puzzle provided a file named file:

daniel@wildcat ~ % file Downloads/file
Downloads/file: ASCII text, with very long lines

daniel@wildcat ~ % ls -l Downloads/file 
-rw-rw-r-- 1 daniel daniel 14551 Apr 19 11:56 Downloads/file

Solution

I started with grep picoCTF file, due to this challenge insinuating that it was to be solved with grep, and the pre-existing knowledge of the flag format.

Looking at this file with less, it appears that it would be painful to actually read the contents of this file to find the flag:

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s