#include <Windows.h>
#include <process.h>
#include <Tlhelp32.h>
#include <winbase.h>
#include <string.h>
#define LAUNCHER_ERROR 0x
#define ABNORMAL_ACTIVITY 0x
#define GAMEGUARDEROR1 0x
#define GAMEGUARDEROR2 0x
VOID BetaBypass()
{while(1){
memcpy((PVOID) (LAUNCHER_ERROR), (PVOID) "\xEB\x38", 2);
memcpy((PVOID) (ABNORMAL_ACTIVITY), (PVOID) "\x0F\x84", 2);
memcpy((PVOID) (GAMEGUARDEROR1), (PVOID) "\x55\x07", 2);
memcpy((PVOID) (GAMEGUARDEROR2), (PVOID) "\x75\x0A", 2);
}}
void KillGG(const char *processName) {
HANDLE hSnapShot = CreateToolhelp32Snapshot(TH32CS_SNAPALL, NULL);
PROCESSENTRY32 pEntry;
pEntry.dwSize = sizeof(pEntry);
BOOL hRes = Process32First(hSnapShot, &pEntry);
while (hRes)
{ if (strcmp(pEntry.szExeFile, processName) == 0) { HANDLE hProcess = OpenProcess(PROCESS_TERMINATE, 0,
(DWORD)pEntry.th32ProcessID);
if (hProcess != NULL)
{
TerminateProcess(hProcess, 9);
CloseHandle(hProcess);
}} hRes = Process32Next(hSnapShot, &pEntry);} CloseHandle(hSnapShot);}
void KillGGNow() {
while (1) {
KillGG("GameGuard.des");
KillGG("GameMon.des");
KillGG("GameMon64.des");
Sleep(200);}}
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)BetaBypass, NULL, NULL, NULL);
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)KillGGNow, NULL, NULL, NULL);
No comments:
Post a Comment