防止OD附加程序并停在DbgBreakPoint函数处

易语言 2020-07-11 18:16:49

防止OD附加程序并停在DbgBreakPoint函数处

VirtualProtect (GetProcAddress (GetModuleHandleA (“ntdll.dll”), “DbgBreakPoint”), 4, 64, 0)
写到内存 ({ 51, 192, 255, 224 }, GetProcAddress (GetModuleHandleA (“ntdll.dll”), “DbgBreakPoint”), 4)