Skip to content

Commit

Permalink
Update PsMonitor.c
Browse files Browse the repository at this point in the history
Fix for log output (thx to hsheep)
  • Loading branch information
JKornev authored Apr 19, 2019
1 parent 7ad8dca commit 8e4dd95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Hidden/PsMonitor.c
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ OB_PREOP_CALLBACK_STATUS ProcessPreCallback(PVOID RegistrationContext, POB_PRE_O

if (!CheckProtectedOperation(PsGetCurrentProcessId(), PsGetProcessId(OperationInformation->Object)))
{
LogInfo("Allow protected process access from %d to %d", (ULONG)PsGetCurrentProcessId(), (ULONG)PsGetThreadProcessId(OperationInformation->Object));
LogInfo("Allow protected process access from %d to %d", (ULONG)PsGetCurrentProcessId(), (ULONG)PsGetProcessId(OperationInformation->Object));
return OB_PREOP_SUCCESS;
}

Expand Down

0 comments on commit 8e4dd95

Please sign in to comment.