I don't want to be bothered by VMProtect when I am just debugging my code so I put a res = 0 surrounded by
#ifdef _DEBUG / #endif preprocessor conditions. It it dangerous to have this code in the exe in the wild?
I have put it inside the protected code area using a marker.
char *serial = read_serial((char*)"c:\\serial.txt");
int res = VMProtectSetSerialNumber(serial);
delete [] serial;
VMProtectBegin("Create");
#ifdef _DEBUG
res = 0;
#endif
if (res)
{
........
Thanks in advance
:Ron
Is this safe?
Re: Is this safe?
I can recommend to read this:
https://vmpsoft.com/vmprotect/user-manu ... cking-code
Start with:
https://vmpsoft.com/vmprotect/user-manu ... cking-code
Start with:
Define “correct” serial number
...