Skip to content

Python script for injecting JS payload into PDF files

License

Notifications You must be signed in to change notification settings

sdebby/PDFScript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Python script for injecting JS payload into PDF files

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published