← Back to HWJ CTF

THE FIRST FEW

Inspect XMP metadata of JPEG image to retrieve flag from Title field.

Tools Used

stringsexiftoolfile

Overview

Smallest details at the beginning of file tell the story. Metadata section near JPEG start holds flag.

Reconnaissance

Run exiftool chall.jpg or strings chall.jpg to check XMP fields.

Exploitation Strategy

Extract <dc:title> field value containing flag string.

Solution Code

exiftool chall.jpg | grep Title
# Title: hwj{c0rrupt10n_1n_p1x3ls} - 1

Flag

hwj{c0rrupt10n_1n_p1x3ls}