Kod:
#include <iostream>
#include <Windows.h>
using namespace std;
int NewScore;
int main(){
HWND windowProgram = FindWindow(NULL,"");
system("color 0E");
cout<<"Hack: ";
cin>>::NewScore;
if(windowProgram ==0){
cerr<<"Unable to find Running Window Program"<<endl;
}else{
DWORD processID;
GetWindowThreadProcessId(windowProgram,&processID);
HANDLE handleProcess = OpenProcess(PROCESS_ALL_ACCESS,FALSE,processID);
if(!handleProcess){
cerr<<"Unable to handle process: "<<handleProcess<<endl;
}else{
int MemoryHacking = WriteProcessMemory(
handleProcess,
(LP****)Pointer,
&NewScore,
(DWORD)sizeof(NewScore),NULL);
if(MemoryHacking > 0){
clog<<"Activated!"<<endl;
}else{
cerr<<"Not Activated!"<<endl;
}
CloseHandle(handleProcess);
}
}
cin.sync(),
cin.ignore();
return 0;
}
0 yorum:
Yorum Gönder