Windows C++ / IsDebuggerPresent
Author | Thomas Roccia (fr0gger) |
Platform | Windows |
Language | C++ |
Technique | IsDebuggerPresent |
Code
#include <windows.h>
#include <stdio.h>
int main(int argc, char** argv)
{
if (IsDebuggerPresent())
{
printf("Debugger detected!!\n");
}
else
{
printf("No debugger detected!!\n");
}
system("pause");
return 0;
}
Created
September 17, 2020
Last Revised
April 22, 2024