Skip to content

Hect0rius/PHP-PortableExecutable

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

PHP-PortableExecutable

[ Overview ]

This is a simple class (with external structs) containing the structure of the protable executable file format used on windows.

These scripts have only been tested on Linux/Ubuntu, I dont have a windows pc at hand, so any amendments please push any changes for windows and mac !

[ Features ]

The features include full support for reading and writing PE images, both in higher endian and lower (Ive only seen lower endian so far)

[ Examples ]

Basic Usage :

You will need to include both files (io/FileStream.php && pe/Binary.php) then just run through the functions.

[ Linux ]

Make sure you have php-cli installed, on ubuntu you can do this by running a apt-get install command : sudo apt-get install php-cli

[ Author ]

Hect0r Xorius staticpi.net@gmail.com - StaticPi.net

[ Copyrights ]

I was able to understand the format originally from the file "pe_image.h" on windows, you can view this in the lib/include folder of visual studio.

Copyrights belong to Microsoft.

About

A class that is able to read the format of a pe file, includes all flags.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors