Malicious PDF Generator



Generate a bunch of malicious pdf files with phone-home functionality. Can be used with Burp Collaborator or

Used for penetration testing and/or red teaming etc. I created this tool because i needed a third party tool to generate a bunch of PDF files with various links.


git clone
cd malicious-pdf
python3 burp-collaborator-url

Output will be written as: test1.pdf, test2.pdf, test3.pdf etc in the current directory.

Do not use the https:// etc prefix on the url argument.


  • Test web pages/services accepting PDF-files
  • Test security products
  • Test PDF readers
  • Test PDF converters


The Malicious PDF is a github repository by Jonas Lejon