OldSchoolHack

Registrieren / Anmelden Deutsch

Who Can Do This?

icon Thema: Who Can Do This?

Anmeldungsdatum: Aug 2008

Beiträge: 11

I think, 0x5B88CE < CVAR Bypass

Is This True?
TEXT Code:
  1. #include <windows.h>
  2.  
  3. #define CVAR Bypass 0x5B88CE
  4.  
  5. BYTE CVAR Bypass[] = {0x74, 0x05};
  6. BYTE CVAR Bypass[] = {0x75, 0x05};
  7.  
  8. bool WINAPI DllMain(HMODULE hDll, DWORD dwReason, LPVOID lpReserved)
  9. {
  10. if(dwReason == DLL_PROCESS_ATTACH)
  11. {
  12. if(GetAsyncKeyState(VK_NUMPAD0)&1)// ON
  13. {
  14. WriteProcessMemory(GetCurrentProcess(), (void*)CVAR Bypass, &CVAR BypassOn, sizeof(CVAR BypassOn), NULL);
  15. }
  16. if(GetAsyncKeyState(VK_NUMPAD1)&1)// OFF
  17. {
  18. WriteProcessMemory(GetCurrentProcess(), (void*)CVAR Bypass, &CVAR BypassOff, sizeof(CVAR BypassOff), NULL);
  19. }
  20. }
  21. }