Bugfix
This commit is contained in:
parent
f1ac78134e
commit
1e7e4007de
@ -27,6 +27,15 @@ _IRQL_requires_max_(PASSIVE_LEVEL)
|
|||||||
NTSTATUS
|
NTSTATUS
|
||||||
DomitoInit()
|
DomitoInit()
|
||||||
{
|
{
|
||||||
|
//
|
||||||
|
// Do those first since the follow-up code depends on them
|
||||||
|
//
|
||||||
|
|
||||||
|
G_Common.ZwQueryInformationProcess =
|
||||||
|
(t_ZwQueryInformationProcess)MmGetSystemRoutineAddress((PUNICODE_STRING)&G_QipRoutineName);
|
||||||
|
G_Common.RtlImageDirectoryEntryToData =
|
||||||
|
(t_RtlImageDirectoryEntryToData)MmGetSystemRoutineAddress((PUNICODE_STRING)&G_IdetdRoutineName);
|
||||||
|
|
||||||
const STRING ciModuleName = RTL_CONSTANT_STRING("\\SystemRoot\\system32\\CI.dll");
|
const STRING ciModuleName = RTL_CONSTANT_STRING("\\SystemRoot\\system32\\CI.dll");
|
||||||
PVOID driverBaseAddress = NULL, functionAddress = NULL;
|
PVOID driverBaseAddress = NULL, functionAddress = NULL;
|
||||||
|
|
||||||
@ -63,11 +72,6 @@ DomitoInit()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
G_Common.ZwQueryInformationProcess =
|
|
||||||
(t_ZwQueryInformationProcess)MmGetSystemRoutineAddress((PUNICODE_STRING)&G_QipRoutineName);
|
|
||||||
G_Common.RtlImageDirectoryEntryToData =
|
|
||||||
(t_RtlImageDirectoryEntryToData)MmGetSystemRoutineAddress((PUNICODE_STRING)&G_IdetdRoutineName);
|
|
||||||
|
|
||||||
return STATUS_SUCCESS; // TODO: unused currently
|
return STATUS_SUCCESS; // TODO: unused currently
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user