Skip to content
A tool to combine a PDF and a JPG into one polyglot file which is both a PDF and JPG
C Makefile
Branch: master
Clone or download
Latest commit 054f57f Dec 8, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Makefile
README.md
pdfjpg.c

README.md

Polyglot: JPG+PDF

A tool to combine a PDF and a JPG into one polyglot file which is both a PDF and JPG. The tool is based on Ange Albertini's PoC from PoC||GTFO 0x03.

Usage

Compile the tool by running

make

Then, just run

./pdfjpg <pdf file> <jpg file> <output file>

to generate a file which is both a PDF and a JPG file. See PoC||GTFO 0x03 for more details.

Limitations

Acrobat Reader since version 10 cannot open the resulting PDF.

You can’t perform that action at this time.