MCPcopy Create free account
hub / github.com/Spuckwaffel/Kernel-Thread-Driver / Check

Function Check

Driver/main.cpp:6–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4
5
6void Check() {
7 while (!NT_SUCCESS(PsLookupProcessByProcessId((HANDLE)process::pid, &process::process))) {
8 ObDereferenceObject(process::process);
9 sleep(995);
10 }
11 //process::pid = reinterpret_cast<ULONG>(PsGetProcessId(process::process));
12 print("\n[+] found process! Pid: %i", process::pid);
13
14}
15
16template< typename T >
17void SpoofAddress(PVOID address, PVOID* save, PVOID target = 0) {

Callers 1

mainthreadFunction · 0.85

Calls 1

sleepFunction · 0.85

Tested by

no test coverage detected