A Python script that embeds an executable file into a PDF using JavaScript. This Python script allows embedding an executable file (.exe) into a PDF file using JavaScript. The script uses the PyPDF2 and Pillow libraries for PDF and image manipulation, and the use of command line arguments is handled using the argparse library.
pip install python-docx
pip install PyPDF2
python3 file.py /home/Desktop/malware.exe /home/Desktop/README.pdf -o /home/Desktop/MALICIOUSFILE.pdf
Enjoy !