Skip to content

Latest commit

 

History

History
23 lines (15 loc) · 487 Bytes

README.md

File metadata and controls

23 lines (15 loc) · 487 Bytes

PDFScript

Injecting javascript payload into pdf files

A usefull script for injecting js code into innocent pdf file, using pypdf library.

Features:

This script will open the input file and the payload, and creates a new combind fil.

requirnemts:

pip install pypdf

Use

'payload.js' is the payload file

'installation.pdf' is the PDF file you want to inject

python PDFScript.py -i installation.pdf -p payload.js