Files
2022-09-28 10:49:35 +09:00
..
2022-09-28 10:49:35 +09:00
2022-09-28 10:49:35 +09:00
2021-03-29 16:47:35 +09:00

pe-tools

Utilities related to PE, memory, etc.

Disclaimer

Code samples are provided for educational purposes. Adequate defenses can only be built by researching attack techniques available to malicious actors. Using this code against target systems without prior permission is illegal in most jurisdictions. The authors are not liable for any damages from misuse of this information or code.

Details

This library contains various functions related to PE, etc manipulation and so on.
Add functions that will need little by little.
Most are unsafe operation.
so, please be careful when using it.

There are other crates like the PE parser, why not use it?

I am using goblin as a PE parser.
pe-tools do a lot of memory writes, which are more, ah no, very very unsafe than they are.
They are good for "analysis", pe-tools focuses on "manipulating" PE.

Usage

If you are interested in these, you should know how to use them

info

shared:
contains methods shared by x86 and 64 and util functions

x86, x64:
Most of the methods for PE manipulations are here.
contains the main PEContainer structure and a few util functions.
x86 and x64 are almost the same code, but it's split into two because some structures have different types and pointer sizes.

Contribute

WELCOME ANYTIME