From dbb3a035711e5bc6b16df005764d56184eccfe5d Mon Sep 17 00:00:00 2001 From: "dennisbabkin.com" Date: Sat, 29 May 2021 13:04:58 -0700 Subject: [PATCH] Update CSection.h --- InjectAll/Drv/CSection.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/InjectAll/Drv/CSection.h b/InjectAll/Drv/CSection.h index 82f3476..8147978 100644 --- a/InjectAll/Drv/CSection.h +++ b/InjectAll/Drv/CSection.h @@ -35,12 +35,12 @@ struct DLL_STATS{ //INFO: Cannot use constructor/destructor! - SECTION_TYPE secType; //Tye of section - PVOID Section; //If not NULL, Section object (for that DLL being injected) - ULONG uRVA_ShellCode; //If not 0, RVA offset to the ShellCode in the injected DLL - must be UserModeNormalRoutine() function in dll_asm64.asm/dll_asm32.asm files - ULONG uRVA_DllName; //If not 0, RVA offset of the injected DLL name as null-terminated WCHAR string - PVOID PreferredAddress; //If not NULL, preferred load base-address for the injected DLL (after ASLR relocation) - ULONG SizeOfImage; //If not 0, size of the section in BYTEs + SECTION_TYPE secType; //Tye of section + PVOID Section; //If not NULL, Section object (for that DLL being injected) + ULONG uRVA_ShellCode; //If not 0, RVA offset to the ShellCode in the injected DLL - must be UserModeNormalRoutine() function in dll_asm64.asm/dll_asm32.asm files + ULONG uRVA_DllName; //If not 0, RVA offset of the injected DLL name as null-terminated WCHAR string + PVOID PreferredAddress; //If not NULL, preferred load base-address for the injected DLL (after ASLR relocation) + ULONG SizeOfImage; //If not 0, size of the section in BYTEs bool IsValid() {