PDFator is an InfoSec project that consists of a Python script and a C application to generate an executable payload. The payload includes functionality to write and execute a PDF file and execute shellcode. Both the PDF file and shellcode are encrypted using XOR and decrypted at runtime.
To run this project, you need the following:
- Python 3.x
- MinGW (Minimalist GNU for Windows)
MinGW can be downloaded from here http://musl.cc/
- Clone the repository:
git clone https://github.com/smokeme/PDFator.git
- Change into the project directory:
cd PDFator
- Prepare the payload by running the Python script:
python generate.py <raw_shellcode> <pdf_file>
Replace <raw_shellcode>
with the path to your shellcode file, and <pdf_file>
with the path to your PDF file.
The generated payload can be found in the project root directory with the name payload.exe
.
This project is licensed under the MIT License.