Matryoshka doll
Problem
Matryoshka dolls are a set of wooden dolls of decreasing size placed one inside another. What's the final one? Image: this
Solution
The problem suggests files places inside of other files, so let's run
binwalk dolls.jpg
.Sure enough, there are several files.
We can extract the files by running
binwalk --dd='.*' dolls.jpg
and thencd _dolls.jpg.extracted
.After some trial and error, the correct solution is to extract the zip file,
cd base_images
, and then repeat step 3 on2_c.jpg
.Now that you are in
_2_c.jpg.extracted
, extract the zip file and repeat step 3.Repeat the above steps of extracting and
binwalk
ing until you end up at this path:_dolls.jpg.extracted/base_images/_2_c.jpg.extracted/base_images/_3_c.jpg.extracted/base_images/_4_c.jpg.extracted/136DA-(1)
. There is aflag.txt
file in this directory that contains the flag.
Flag
picoCTF{336cf6d51c9d9774fd37196c1d7320ff}
Last updated