Skip to content
This repository has been archived by the owner on Jun 21, 2024. It is now read-only.

Commit

Permalink
ignore Roblox daemon process
Browse files Browse the repository at this point in the history
  • Loading branch information
axstin committed Mar 3, 2022
1 parent fc82b40 commit 55a92b9
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,13 @@ std::vector<HANDLE> GetRobloxProcesses(bool include_client = true, bool include_
std::vector<HANDLE> result;
if (include_client)
{
for (HANDLE handle : ProcUtil::GetProcessesByImageName("RobloxPlayerBeta.exe")) result.emplace_back(handle);
for (HANDLE handle : ProcUtil::GetProcessesByImageName("RobloxPlayerBeta.exe"))
{
// Roblox has a security daemon process that runs under the same name as the client (as of 3/2/22 update). Don't unlock it.
BOOL debugged = FALSE;
CheckRemoteDebuggerPresent(handle, &debugged);
if (!debugged) result.emplace_back(handle);
}
for (HANDLE handle : ProcUtil::GetProcessesByImageName("Windows10Universal.exe")) result.emplace_back(handle);
}
if (include_studio) for (HANDLE handle : ProcUtil::GetProcessesByImageName("RobloxStudioBeta.exe")) result.emplace_back(handle);
Expand Down

3 comments on commit 55a92b9

@ThickBrowse

This comment was marked as off-topic.

@REBindex

This comment was marked as off-topic.

@REBindex

This comment was marked as off-topic.

Please sign in to comment.