Skip to content

misc0110/polyglot-jpg-pdf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

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.

About

A tool to combine a PDF and a JPG into one polyglot file which is both a PDF and JPG

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published