C# Класс GrayStorm.CToAsmAttackChain

Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
newPrelude ( IntPtr payloadAddress ) : byte[]

Create the new method prelude that will be plotted over the target method.

newPrelude64 ( IntPtr payloadAddress ) : byte[]

Create the new method prelude that will be plotted over the target method.

payloadCleaner ( int containedIndex, IntPtr methodPointer, int indexToStartCleaning ) : void

Cleanup for the payload to restore the origional method. Requires 12 bytes for 32bit.

payloadCleaner64 ( int containedIndex, IntPtr methodPointer, int indexToStartCleaning ) : void

Описание методов

newPrelude() публичный статический Метод

Create the new method prelude that will be plotted over the target method.
public static newPrelude ( IntPtr payloadAddress ) : byte[]
payloadAddress System.IntPtr The address of the payload. Will be converted into a 7 byte preleude.
Результат byte[]

newPrelude64() публичный статический Метод

Create the new method prelude that will be plotted over the target method.
public static newPrelude64 ( IntPtr payloadAddress ) : byte[]
payloadAddress System.IntPtr The address of the payload. Will be converted into a 7 byte preleude.
Результат byte[]

payloadCleaner() публичный статический Метод

Cleanup for the payload to restore the origional method. Requires 12 bytes for 32bit.
public static payloadCleaner ( int containedIndex, IntPtr methodPointer, int indexToStartCleaning ) : void
containedIndex int The index in StorageInformation of the Method that will be changed
methodPointer System.IntPtr The pure IntPtr of the Method that is changing
indexToStartCleaning int The index in the payload of where 12 bytes can be written.
Результат void

payloadCleaner64() публичный статический Метод

public static payloadCleaner64 ( int containedIndex, IntPtr methodPointer, int indexToStartCleaning ) : void
containedIndex int The index in StorageInformation of the Method that will be changed
methodPointer System.IntPtr The pure IntPtr of the Method that is changing
indexToStartCleaning int The index in the payload of where 12 bytes can be written.
Результат void