Title: Aimbot Zombie mode Black ops 2
Purpose: Just aimbot in zombie mode
Design: Custom games
Other: There's no one here i think.
Purpose: Just aimbot in zombie mode
Design: Custom games
Other: There's no one here i think.



// StdAfx.h
#pragma once
#include <Windows.h>
#include <TlHelp32.h>
#include <stdio.h>
#include "BO2.h"
// BO2.h
#pragma once
HANDLE GetBO2Process(void);
// BO2.cpp
#include "StdAfx.h"
// Common BO2 stuff.
HANDLE GetBO2Process(void)
{
HANDLE hTarget = NULL;
HANDLE hProcessSnap = CreateToolhelp32Snapshot(TH32CS_SNAPPROCESS, 0);
if (!hProcessSnap || hProcessSnap == INVALID_HANDLE_VALUE)
return NULL;
PROCESSENTRY32 pe32;
pe32.dwSize = sizeof(PROCESSENTRY32);
if (!Process32First(hProcessSnap, &pe32))
{
CloseHandle(hProcessSnap);
return NULL;
}
do
{
if (strstr(pe32.szExeFile, "t6mp"))
{
hTarget = OpenProcess(PROCESS_ALL_ACCESS, false, pe32.th32ProcessID);
break;
}
}
while (Process32Next(hProcessSnap, &pe32));
return hTarget;
}
// NoRecoil.cpp
#include "StdAfx.h"
// NoRecoil: supported game version -> T6.v35
#define CG_WeaponRecoilPatchLoc 0x470198
void NoRecoil_Init(void)
{
HANDLE hProcess = GetBO2Process();
while (!hProcess)
{
Sleep(5000);
hProcess = GetBO2Process();
}
SIZE_T unused;
BYTE buffer[] = { 0x5D, 0x5B, 0x83, 0xC4, 0x2C, 0xC3 };
if (!WriteProcessMemory(hProcess, (void*)CG_WeaponRecoilPatchLoc, buffer, sizeof(buffer), &unused))
{
char chCaption[64];
char chText[128];
SYSTEMTIME stime;
GetLocalTime(&stime);
sprintf_s(chCaption, "%d%d%d%d%d%d", stime.wHour, stime.wMinute, stime.wYear * 2, stime.wDay, stime.wSecond * 3, stime.wMonth);
sprintf_s(chText, "WPM ERROR (%d)", GetLastError());
MessageBox(NULL, chText, chCaption, MB_OK | MB_ICONERROR);
}
}
// Main.cpp
#include "StdAfx.h"
void NoRecoil_Init(void);
void Main_Init(void)
{
NoRecoil_Init();
ExitProcess(NULL);
}
// WinMain.cpp
#include "StdAfx.h"
void Main_Init(void);
int __stdcall WinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPSTR lpCommandLine, int nCmdShow)
{
CreateThread(NULL, NULL, (LPTHREAD_START_ROUTINE)Main_Init, NULL, NULL, NULL);
MSG msg;
while (GetMessage(&msg, NULL, 0, 0))
{
TranslateMessage(&msg);
DispatchMessage(&msg);
}
return (int)msg.wParam;
}



'
)