make-pdf-javascript.py allows one to create a simple PDF document with embedded JavaScript that will execute upon opening of the PDF document. It’s essentially glue-code for the mPDF.py module which contains a class with methods to create headers, indirect objects, stream objects, trailers and XREFs.
make-pdf-embedded.py creates a PDF file with an embedded file.
Step 1 :
sudo -sH
mkdir /opt/make-pdf
cd /opt/make-pdf
wget http://didierstevens.com/files/software/make-pdf_V0_1_4.zip
unzip make-pdf_V0_1_4.zip
rm make-pdf_V0_1_4.zip
Step 2 :
To run them.
sudo -sH
cd /opt/make-pdf
python make-pdf-embedded.py
python make-pdf-javascript.py
That's all! See you.