GZ (Forensics) – 30

Description

We shot a flag into this file but some things got messed up on the way…

Solution

Running the unix filter ‘file’ on our download, we see it is a gzip compressed file.

file flag
flag: gzip compressed data, was "flag", 
last modified: Sun Jun 26 17:22:38 2016, from Unix

We modify the name of the file to give it the .gz extension

mv flag flag.gz

Then unzip the file using gunzip

gunzip flag.gz

The file inside the zip was called flag, cat-ing this out gives us our flag

cat flag
ABCTF{broken_zipper}

Comments are closed.

WordPress.com.

Up ↑