Newbie Spellweaver
- Joined
- Sep 28, 2013
- Messages
- 55
- Reaction score
- 4
Does anyone know how to paste this into the warrock.exe?
Code:
// ============================================
// == WarRock HackShield ByPass 2014 ==
// == Made by SdfSdf ==
// == Keep a credit if you are gona use this ==
// ============================================
BOOL MemoryEdit ( VOID *lpMem, VOID *lpSrc, DWORD len )
{
DWORD lpflOldProtect, flNewProtect = PAGE_READWRITE;
unsigned char *pDst = (unsigned char *)lpMem,
*pSrc = (unsigned char *)lpSrc;
if (VirtualProtect(lpMem,len,flNewProtect,&lpflOldProtect))
{
while(len-- >0) *pDst++ = *pSrc++;
VirtualProtect(lpMem,len, lpflOldProtect,&lpflOldProtect);
FlushInstructionCache(GetCurrentProcess(), lpMem, len);
return 1;
}
return 0;
}
void HackShieldBP (void)
{
DWORD hEhSvc = 0;
do{
hEhSvc = (DWORD)GetModuleHandle("EhSvc.dll");
Sleep(300); // Waiting EhSvc.dll Module
}while(!hEhSvc);
// == EhSvc.dll
MemoryEdit((LPVOID)(hEhSvc+0x09F10),(LPVOID)"\xC2\x04\x00",3);
MemoryEdit((LPVOID)(hEhSvc+0x786DC),(LPVOID)"\xC2\x04\x00",3);
MemoryEdit((LPVOID)(hEhSvc+0x3BC3E),(LPVOID)"\x31",1);
MemoryEdit((LPVOID)(hEhSvc+0x3906F),(LPVOID)"\x31",1);
// == WarRock.exe
MemoryEdit((LPVOID)(0x4E5FB5),(LPVOID)"\xC2\x0C\x00",3);
MemoryEdit((LPVOID)(0x4E6699),(LPVOID)"\xEB",1);
MemoryEdit((LPVOID)(0x59B908),(LPVOID)"\xC3",1);
}
CreateThread(0,0,(LPTHREAD_START_ROUTINE)HackShieldBP,0,0,0);