和 IsDebuggerPresent 差不多简单的反调试技术 👀
BOOL bIsDbgPresent = FALSE;
if(CheckRemoteDebuggerPresent(GetCurrentProcess(), &bIsDbgPresent) != 0){
if(bIsDbgPresent == TRUE){
cout << "发现调试器" << endl;
}
else{
cout << "没有调试器" << endl;
}
}
和 IsDebuggerPresent 差不多简单的反调试技术 👀
BOOL bIsDbgPresent = FALSE;
if(CheckRemoteDebuggerPresent(GetCurrentProcess(), &bIsDbgPresent) != 0){
if(bIsDbgPresent == TRUE){
cout << "发现调试器" << endl;
}
else{
cout << "没有调试器" << endl;
}
}