Jetzt dürfte der Bypass richtig sein:
Credits: UnkownPK
PHP Code:
void MEMwrite(void *adr, void *ptr, int size)
{
DWORD OldProtection;
VirtualProtect(adr,size,PAGE_EXECUTE_READWRITE, &OldProtection);
memcpy(adr,ptr,size);
VirtualProtect(adr,size,OldProtection, &OldProtection);
}
DWORD WINAPI GoodByeHackshield(LPVOID)
{
DWORD HSEhsvc = 0;
//lets sleep while hackshield loading :) and save its start point
do{
HSEhsvc = (DWORD)GetModuleHandle("Ehsvc.dll");
Sleep(100);
}while(!HSEhsvc);
//prevent hackshield kicking you from the server
//little credits to king7 this is his address :) but still i change it alittle :)
MEMwrite((void*)0x4D9E35,(void*)"\x32\xC0\xC3",3);
//prevents WR telling hackshield to start montioring
MEMwrite((void*)0x4D9DD4,(void*)"\xB0\x01\xC2\x04\x00",5);
//prevents hackshield knowing you are connected inside the server
MEMwrite((void*)0x780A2F,(void*)"\xC2\x04\x00",3);
//prevent hackshield heartbeating to the game!
MEMwrite((void*)0x5812B1,(void*)"\xC3",1);
return 1;
}
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)GoodByeHackshield, NULL, NULL, NULL);