\xre\xve\xrs\xe0
How to restrict someone debugging your program just add this:
if (ptrace(PTRACE_TRACEME, 0, 1, 0) < 0)
{
printf("[-] Don't use a debugguer !\n");
abort();
}
Written on August 5, 2020
Security Researcher
How to restrict someone debugging your program just add this:
if (ptrace(PTRACE_TRACEME, 0, 1, 0) < 0)
{
printf("[-] Don't use a debugguer !\n");
abort();
}