Skip to content

Latest commit

 

History

History
15 lines (11 loc) · 458 Bytes

USAGE.md

File metadata and controls

15 lines (11 loc) · 458 Bytes

We use a small pdf generator from Didier Stevens

To generate the exploit:

  1. Generate a js payload using generate-js.py
$ python generate-js.py > test.js
  1. Use make-pdf-javascript to generate a pdf with that JS embedded
$ python make-pdf-javascript.py -f test.js test.pdf
  1. Open the pdf in Foxit and attach bitcoins.pdf and then use "Sign" feature in "Protect" to sign the pdf.