Results 1 to 4 of 4
  1. #1
    mick167hack's Avatar
    Join Date
    Jan 2014
    Gender
    male
    Posts
    11
    Reputation
    10
    Thanks
    0

    Mw3 C++ Addresses

    I have copied for a test a c++ code (Mw3 code) but there is an error...

    Code:
    // Mw3Hack.cpp : definisce il punto di ingresso dell'applicazione console.
    //
    
    #include "stdafx.h"
    #include <Windows.h>
    #include <tlhelp32.h> 
    #include <process.h>
    
    
    DWORD MW3_PID;
    HWND MW3_HWND;
    HANDLE MW3_HANDLE;
    
    BYTE* GetEntryPoint(DWORD MW3_PID);
    void Do_stuff(void*);
    
    int main()
    {
    	LPCWSTR process = L"iw5mp";
    
    	while (!(MW3_HWND = FindWindow(NULL, process)))
    		Sleep(10);
    
    	while (!(GetWindowThreadProcessId(MW3_HWND, &MW3_PID)))
    		Sleep(10);
    
    	while (!(MW3_HANDLE = OpenProcess(PROCESS_ALL_ACCESS, false, MW3_PID)))
    		Sleep(10);
    
    	_beginthread(Do_stuff, 0, 0);
    
    	while (MW3_HWND = FindWindow(NULL, process))
    	{
    		Sleep(200);
    	}
    	return 0;
    }
    
    BYTE* GetEntryPoint(DWORD MW3_PID)
    {
    
    	MODULEENTRY32 iw5mp;
    	BYTE* ModuleBase = 0; //Byte isn't = NULL 
    	HANDLE hSnapShot = NULL;
    
    	if (MW3_PID == 0) return 0;
    
    	iw5mp.dwSize = sizeof(iw5mp);
    	hSnapShot = CreateToolhelp32Snapshot(TH32CS_SNAPMODULE, MW3_PID);
    
    	ModuleBase = iw5mp.modBaseAddr;
    	CloseHandle(hSnapShot);
    
    	return ModuleBase;
    }
    
    void Do_stuff(void*)
    {
    	// Let's use DWORDs for the sake of clarity..
    	DWORD Base = (DWORD)GetEntryPoint(MW3_PID);
    	DWORD Address = Base + 0x22311; // iw5mp.exe + 0x22311
    
    	BYTE temp = 0;
    	while (1)
    	{
    		// Wait for input..
    		// Then do whatever you want to the address..
    
    		WriteProcessMemory(MW3_HANDLE, (PVOID)Address, &temp, 1, NULL);
    		SetForegroundWindow(MW3_HWND);
    	}
    }
    In: BYTE* GetEntryPointThere is a problem with ModuleBase It says: used local variable 'iw5mp' uninitialized

  2. #2
    wara286's Avatar
    Join Date
    Aug 2014
    Gender
    male
    Location
    At my computer
    Posts
    62
    Reputation
    10
    Thanks
    176
    My Mood
    Psychedelic
    Just google it and learn c++, otherwise coding won't be fun for you and you will stop pretty soon.

  3. #3
    Pop165's Avatar
    Join Date
    Feb 2016
    Gender
    male
    Posts
    3
    Reputation
    10
    Thanks
    0
    Can someone give me the code for anti ban on cod mw3 COD with tekno2.7.3.9. and also tell me the instructions.I know programming in c and just started learning in c++.I have visual studio 2015.Please and thanks.

  4. #4
    wara286's Avatar
    Join Date
    Aug 2014
    Gender
    male
    Location
    At my computer
    Posts
    62
    Reputation
    10
    Thanks
    176
    My Mood
    Psychedelic
    Some tipps:

    Reverse teknomw3.dll
    Everytime you try to connect to a server, some additional information from your teknomw3.dll is sent to the server.
    It also contains some functions that generate your HWID.
    Do your work from there, and if you aren't able to do that, don't expect to get some working source code.

Similar Threads

  1. [Release] MW3 Memory Address Generator 1.0 by Geometrical
    By Geometrical in forum Call of Duty Modern Warfare 3 Coding, Programming & Source Code
    Replies: 19
    Last Post: 12-18-2012, 02:47 PM
  2. MW3 XYZ addresses (1.9.453)
    By hacksorce in forum Call of Duty Modern Warfare 3 Coding, Programming & Source Code
    Replies: 6
    Last Post: 10-13-2012, 03:42 PM
  3. MW3 spec ops XP address?
    By Shadowfita in forum Call of Duty Modern Warfare 3 Help
    Replies: 0
    Last Post: 01-21-2012, 09:04 PM
  4. [Tutorial] Mw3 Survival Waves Address
    By cesarbotz in forum Call of Duty Modern Warfare 3 Tutorials
    Replies: 6
    Last Post: 12-08-2011, 01:14 AM
  5. [Release] MW3 Address Changer + Source
    By Kriege203 in forum Call of Duty - Modern Warfare 3 (MW3) Hacks & Cheats
    Replies: 16
    Last Post: 11-23-2011, 10:07 AM