mirror of
https://github.com/vxunderground/VX-API
synced 2026-06-06 16:54:55 +00:00
Update RfCheckRemoteDebuggerPresent.cpp
This commit is contained in:
@@ -28,10 +28,9 @@ BOOL RfCheckRemoteDebuggerPresent(HANDLE hHandle, PBOOL pbDebuggerPresent)
|
||||
|
||||
Status = NtQueryInformationProcess(hHandle, ProcessDebugPort, &dwProcessDebugPort, sizeof(DWORD), &dwReturnValue);
|
||||
if (NT_SUCCESS(Status) && dwProcessDebugPort == -1)
|
||||
return FALSE;
|
||||
return TRUE;
|
||||
|
||||
*pbDebuggerPresent = TRUE;
|
||||
|
||||
return TRUE;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user