Noticias:

SMF - Just Installed!

Menú principal

Source DEP Main

Publicado por Dakosmu, Mar 26, 2024, 09:26 AM

Tema anterior - Siguiente tema

Dakosmu

Source DEP Main








Main.cpp


Dentro de extern "C" _declspec(dllexport) void EntryProc() // OK


EnablePermanentDep();



//ENABLE DEP
typedef NTSTATUS(NTAPI* lpNtSetInformationProcess)(HANDLE ProcessHandle, ULONG ProcessInformationClass, PVOID ProcessInformation, ULONG ProcessInformationLength);
lpNtSetInformationProcess NtSetInformationProcess = (lpNtSetInformationProcess)GetProcAddress(GetModuleHandle("ntdll.dll"),"NtSetInformationProcess");
 
typedef NTSTATUS(NTAPI* lpNtAllocateVirtualMemory)(HANDLE ProcessHandle, PVOID* BaseAddress, ULONG_PTR ZeroBits, PSIZE_T RegionSize, ULONG AllocationType, ULONG Protect);
lpNtAllocateVirtualMemory NtAllocateVirtualMemory = (lpNtAllocateVirtualMemory)GetProcAddress(GetModuleHandle("ntdll.dll"), "NtAllocateVirtualMemory");
Bon Dia


🡱 🡳