diff --git a/Anti-Debug/RfCheckRemoteDebuggerPresent.cpp b/Anti-Debug/RfCheckRemoteDebuggerPresent.cpp index bd1117a..97c56b0 100644 --- a/Anti-Debug/RfCheckRemoteDebuggerPresent.cpp +++ b/Anti-Debug/RfCheckRemoteDebuggerPresent.cpp @@ -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; - }