havok_mk

Untitled

Dec 24th, 2011
122
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.73 KB | None | 0 0
  1. #include <windows.h>
  2. #include <iostream>
  3. #include <cstdio>
  4. #include <stdio.h>
  5. using namespace std;
  6. int main()
  7. {    
  8.     SetConsoleTitle("Merry Christmas - OrangePL 1.4.368");
  9.     /* KS STUFF */
  10.      BYTE ac130data[]={0x12};
  11.     BYTE ospreydata[]={0x0F};
  12.     BYTE juggdata[]={0x10};
  13.    
  14.    
  15.  
  16.    /* this defines their size */
  17.  
  18.  
  19.    
  20.     DWORD ac130datasize = sizeof(ac130data);
  21.     DWORD juggdatasize = sizeof(juggdata);
  22.     DWORD ospreydatasize = sizeof(ospreydata);
  23.  
  24.                                      
  25.    
  26.  
  27.     /* END OF SIZE AND DEFINES */
  28.  
  29.     HWND hwnd;
  30.     HANDLE phandle;
  31.     DWORD pid;
  32.     hwnd = FindWindow(NULL, "Call of Duty®: Modern Warfare® 3 Multiplayer");
  33.     if (hwnd != 0) {
  34.         GetWindowThreadProcessId(hwnd, &pid);
  35.         phandle = OpenProcess(PROCESS_ALL_ACCESS, 0, pid);
  36.        
  37.         cout <<"Private killstreak exploit tool by OrangePL , www.itsmods.com"<<endl;
  38.         cout <<"This will set your killstreak at first class to Juggernaut, AC130 and Osprey."<<endl;
  39.    
  40.         cout << "Process found. Press any key to do some hax magic. "<<endl;
  41.    
  42.    
  43.     } else {
  44.         cout << "Could not find the window. Launch MW3 and re-open the application.";
  45.         std::getchar();
  46.      
  47.         return 0;
  48.     }
  49.    if(phandle != 0 )
  50.    
  51.         {   std::getchar();
  52.             WriteProcessMemory(phandle, (LPVOID)0x1CCF7B1,  &ac130data, ac130datasize, NULL);
  53.             cout<< "AC130                 OK"<<endl;
  54.             WriteProcessMemory(phandle, (LPVOID)0x1CCF7B3,  &juggdata, juggdatasize, NULL);
  55.             cout <<"JUGGERNAUT            OK"<<endl;
  56.             WriteProcessMemory(phandle, (LPVOID)0x1CCF7B5,  &ospreydata, ospreydatasize, NULL);
  57.             cout <<"OSPREY                OK"<<endl;
  58.             cout <<"Merry Christmas all ItsModders ! :)"<<endl;
  59.             }
  60. std::getchar();
  61.     }
Add Comment
Please, Sign In to add comment