mirror of
https://github.com/x64dbg/ScyllaHide
synced 2026-06-08 18:22:18 +00:00
Fix according to newest x64dbg changes (#114)
* Fix according to newest x64dbg changes In newest x64dbg version the auto break on attach was removed so ScyllaHide would never inject.
This commit is contained in:
@@ -164,6 +164,14 @@ static void cbDebugloop(CBTYPE cbType, void* callbackInfo)
|
||||
MessageBoxW(hwndDlg, L"Anti-Anti-Attach failed", L"Error", MB_ICONERROR);
|
||||
}
|
||||
}
|
||||
//In newest x64dbg version the auto break on attach was removed so ScyllaHide would never inject.
|
||||
if (!bHooked)
|
||||
{
|
||||
ReadNtApiInformation(&g_hdd);
|
||||
|
||||
bHooked = true;
|
||||
startInjection(ProcessId, &g_hdd, g_scyllaHideDllPath.c_str(), true);
|
||||
}
|
||||
}
|
||||
|
||||
break;
|
||||
@@ -182,14 +190,6 @@ static void cbDebugloop(CBTYPE cbType, void* callbackInfo)
|
||||
{
|
||||
case STATUS_BREAKPOINT:
|
||||
{
|
||||
if (!bHooked)
|
||||
{
|
||||
ReadNtApiInformation(&g_hdd);
|
||||
|
||||
bHooked = true;
|
||||
startInjection(ProcessId, &g_hdd, g_scyllaHideDllPath.c_str(), true);
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user