Edit warrock.exe

Results 1 to 3 of 3
  1. #1
    Member TheAgainMan is offline
    MemberRank
    Sep 2013 Join Date
    55Posts

    Edit warrock.exe

    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);


  2. #2
    Enthusiast Blure is offline
    MemberRank
    Dec 2013 Join Date
    The NetherlandsLocation
    41Posts

    Re: Edit warrock.exe

    Create a .dll file with this code (just copy & paste). Then you must hook the dll file in warrock.exe

  3. #3
    Member TheAgainMan is offline
    MemberRank
    Sep 2013 Join Date
    55Posts

    Re: Edit warrock.exe

    Quote Originally Posted by Blure View Post
    Create a .dll file with this code (just copy & paste). Then you must hook the dll file in warrock.exe
    Thanks!



Advertisement