mephi42: (Default)
[personal profile] mephi42
Find the flag in the pdf.



Attempt #1: strings does not show anything. Oh well.

Attempt #2: There is a seemingly compressed stream inside - use qpdf to extract it:

qpdf --stream-data=uncompress babypdf.pdf babypdf-uncompressed.pdf

Looks like an image:

<< /Length 7983 >>
stream
q
1 1 1 RG 2.834646 w
2 J
2 j
[] 0.0 d
4 M q 1 0 0 -1 0 859.889771 cm
66.855 230.531 484.289 283.93 re B Q
1 1 1 rg 107.43 485.855 m 107.43 499.855 l 115.43 499.855 l 115.43 497.855 l 117.43


The authors must have somehow messed it up - let's try deleting the first few lines and opening the file again.
Hey, the flag now appears! Like my friends like to say, "solved without regaining consciousness".

Profile

mephi42: (Default)
mephi42

September 2019

S M T W T F S
1234567
891011121314
15161718192021
22232425 262728
2930     

Style Credit

Expand Cut Tags

No cut tags
Page generated Aug. 19th, 2025 12:05 pm
Powered by Dreamwidth Studios