mirror of
https://github.com/x64dbg/ScyllaHide
synced 2026-08-11 18:26:03 -04: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:
parent
75fde06ac9
commit
9ad0839dc2
1 changed files with 8 additions and 8 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue