Update intel_driver.hpp
This commit is contained in:
parent
39ce215e4c
commit
cb4784b189
|
@ -144,6 +144,11 @@ namespace intel_driver
|
|||
*(uint64_t*)((&kernel_injected_jmp[0]) + 2) = kernel_function_address;
|
||||
|
||||
const uint64_t kernel_NtQueryInformationAtom = GetKernelModuleExport(device_handle, utils::GetKernelModuleAddress("ntoskrnl.exe"), "NtQueryInformationAtom");
|
||||
if (!kernel_NtQueryInformationAtom)
|
||||
{
|
||||
std::cout << "[-] Failed to get export ntoskrnl.NtQueryInformationAtom" << std::endl;
|
||||
return false;
|
||||
}
|
||||
|
||||
if (!ReadMemory(device_handle, kernel_NtQueryInformationAtom, &original_kernel_function, sizeof(kernel_injected_jmp)))
|
||||
return false;
|
||||
|
|
Loading…
Reference in New Issue