Update RfCheckRemoteDebuggerPresent.cpp

This commit is contained in:
vxunderground
2022-07-15 12:37:29 -05:00
committed by GitHub
parent 2f3aba82cf
commit 8cb31bfe61
+1 -2
View File
@@ -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;
}