Skip to content

Hamid-K/PDFator

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

PDFator

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.

Requirements

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/

Usage

  1. Clone the repository:
git clone https://github.com/smokeme/PDFator.git
  1. Change into the project directory:
cd PDFator
  1. 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.

License

This project is licensed under the MIT License.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C 65.5%
  • Python 29.5%
  • Makefile 5.0%