Please help me with ACEDIA
He is only running for the specified for (size_t i = 0 value, the value of 0 corresponding to my first program in PROGRAMBLACKLIST up there it usually works over the other programs specified with "x1nject", "Injex", "AC Tool" it does not is working. Please help me.
PHP Code:
#define PROGRAMBLACKLIST "Inject", "x1nject", "InjeX", "AC Tool"
HMODULE hBaseAddress;
HANDLE hProcess;
bool ProgramDetected = true;
unsigned long old2Protect;
BOOL CALLBACK EnumWindowsHandler(HWND hwnd, bool* retVal){
char title[0x1000];
GetWindowText(hwnd, title, _countof(title));
static const char* titleBlacklist[] = { PROGRAMBLACKLIST };
for(size_t i = 0; i < _countof(titleBlacklist); ++i){
if(StrStrI(title, titleBlacklist[i])){
*retVal = true;
return FALSE;
}
return TRUE;
}
return TRUE;
}