放码(⊙_⊙)~~
方法二:
方法一:
//GetCursorPos,WindowFromPoint
POINT point;
if (GetCursorPos(&point))
{
char buf[256];
HWND hwnd = WindowFromPoint(point);
HWND hwnd_tmp = hwnd;
while (hwnd_tmp)
{
hwnd_tmp = GetParent(hwnd_tmp);
if (hwnd_tmp) hwnd = hwnd_tmp;
}
if (GetWindowText(hwnd, buf, 256))
{
for (unsigned int i=0 ;i<strlen(buf); i++)
buf[i] = tolower(buf[i]);
if (strstr(buf, "ollydbg") || strstr(buf, "windbg") || strstr(buf, "ollyice"))
goto FIND;
}
}
方法二:
//GetDesktopWindow,GetWindow
HWND decwnd = GetDesktopWindow();
if (enumwindows(decwnd))
goto FIND;
return 0;
BOOLEAN enumwindows( HWND hwnd_ )
{
HWND hwnd = GetWindow(hwnd_, GW_CHILD);
if (hwnd)
{
char buf[256];
if (GetWindowText(hwnd, buf, 256))
{
//MessageBox(NULL, buf, "god", MB_OK);
for (unsigned int i=0 ;i<strlen(buf); i++)

本文介绍了通过Sky++方法来检测调试器,以应对StrongOD v0.4.3的调试保护。内容简单明了,适合对调试器检测感兴趣的读者。
最低0.47元/天 解锁文章
1988

被折叠的 条评论
为什么被折叠?



