EMO Style ForumPro - Hos Geldiniz
[C++] Basic Game Hacking (Memory Editing) Uyeols10

Join the forum, it's quick and easy

EMO Style ForumPro - Hos Geldiniz
[C++] Basic Game Hacking (Memory Editing) Uyeols10
EMO Style ForumPro - Hos Geldiniz
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Giriş yap

Şifremi unuttum

Istatistikler
Toplam 203 kayıtlı kullanıcımız var
Son kaydolan kullanıcımız: crayzboy76

Kullanıcılarımız toplam 1186 mesaj attılar bunda 862 konu
Tarıyıcı
 Kapı
 Indeks
 Üye Listesi
 Profil
 SSS
 Arama
Arama
 
 

Sonuç :
 


Rechercher çıkıntı araştırma

RSS akısı


Yahoo! 
MSN 
AOL 
Netvibes 
Bloglines 


Anahtar-kelime

kutu  pointer  loot  

Kimler hatta?
Toplam 2 kullanıcı online :: 0 Kayıtlı, 0 Gizli ve 2 Misafir

Yok

[ Bütün listeye bak ]


Sitede bugüne kadar en çok 217 kişi C.tesi Tem. 29, 2017 1:46 am tarihinde online oldu.
En son konular
» İnternetten Para Kazandıran Oyun ! Ödeme Alt Limiti Yok ! DEV KONU
[C++] Basic Game Hacking (Memory Editing) I_icon_minitimeCuma Ağus. 29, 2014 8:33 am tarafından Hello EMO

» goldenchase.net maden yaparak para kazanma
[C++] Basic Game Hacking (Memory Editing) I_icon_minitimeCuma Ağus. 29, 2014 8:18 am tarafından Hello EMO

» etichal hacker görsel egitim seti
[C++] Basic Game Hacking (Memory Editing) I_icon_minitimeÇarş. Ağus. 06, 2014 4:57 am tarafından Hello EMO

» KO TBL Source C#
[C++] Basic Game Hacking (Memory Editing) I_icon_minitimePtsi Ara. 09, 2013 6:36 am tarafından Hello EMO

» x86 Registers
[C++] Basic Game Hacking (Memory Editing) I_icon_minitimeC.tesi Ağus. 24, 2013 5:02 am tarafından Hello EMO

» [Tutorial] Pegando Address, Pointers de WYD
[C++] Basic Game Hacking (Memory Editing) I_icon_minitimeÇarş. Tem. 10, 2013 7:25 am tarafından Hello EMO

» [Tutorial] Pegando Address, Pointers de CS Metodo²
[C++] Basic Game Hacking (Memory Editing) I_icon_minitimeÇarş. Tem. 10, 2013 7:23 am tarafından Hello EMO

» [Tutorial] Aprendendo basico deASM OLLYDBG
[C++] Basic Game Hacking (Memory Editing) I_icon_minitimeÇarş. Tem. 10, 2013 7:22 am tarafından Hello EMO

» Basic C# DLL injector
[C++] Basic Game Hacking (Memory Editing) I_icon_minitimePtsi Tem. 08, 2013 7:48 am tarafından Hello EMO

Reklam

[C++] Basic Game Hacking (Memory Editing)

Aşağa gitmek

[C++] Basic Game Hacking (Memory Editing) Empty [C++] Basic Game Hacking (Memory Editing)

Mesaj tarafından Hello EMO Cuma Ocak 14, 2011 4:54 pm

Basic C++ Game Hacking (Memory Editing)

Some simple basic C++ game hacking (egg: memory editing)
We will start with one of the most simple codes:
[code=c] #include

int main() {
HWND hWnd = FindWindow(0, "Calculator");
if(hWnd == 0){
MessageBox(0, "Error cannot find window.", "Error", MB_OK|MB_ICONERROR);
} else {
DWORD proccess_ID;
GetWindowThreadProcessId(hWnd, &proccess_ID);
HANDLE hProcess = OpenProcess(PROCESS_ALL_ACCESS, FALSE, proccess_ID);
if(!hProcess){
MessageBox(0, "Could not open the process!", "Error!", MB_OK|MB_ICONERROR);
} else {
int newdata = 500;
DWORD newdatasize = sizeof(newdata);
if(WriteProcessMemory(hProcess, (LPVOID)0x57C2A4, &newdata, newdatasize, NULL)){
MessageBox(NULL, "WriteProcessMemory worked.", "Success", MB_OK + MB_ICONINFORMATION);
} else {
MessageBox(NULL, "Error cannot WriteProcessMemory!", "Error", MB_OK + MB_ICONERROR);
}
CloseHandle(hProcess);
}
}
return 0;
} [/code]
This will edit the following memory address: 0x57C2A4
In the calculator window,
[code=c] HWND hWnd = FindWindow(0, "Calculator");
if(hWnd == 0)
{
MessageBox(0, "Error cannot find window.", "Error", MB_OK|MB_ICONERROR);
} [/code]
The lines above will search for a window (process) to edit.
In this case it is the calculator but if you want to edit the Cod4 Addresses it should be iw3mp!
The if statement checks if the window is opened and exists. If not you will get a message that it can not be found.

Scroll down till you see this line:

if(WriteProcessMemory(hProcess, (LPVOID)0x57C2A4, &newdata, newdatasize, NULL))

0x57C2A4 is our address, newdata is the value for our adressm and newdatasize is the bytes that the address is (Most 4)
So you could edit it to:

if(WriteProcessMemory(hProcess, (LPVOID)0x57C2A4, &567, 4, NULL))

Which will change the value to 567 with 4 bytes.

Memory Address freezing

So there is not a real code to freeze (egg FreezeAdress() it just don't exist>
But we can freeze it by using an infinite loop

So we take the code which edits the address value:
[code=c] if(WriteProcessMemory(hProcess, (LPVOID)0x57C2A4, &newdata, newdatasize, NULL))
{
// Here should be the message box that the change has worked, but you need to remove it when using a loop otherwise you will get a infinite msgbox xD
} [/code]

and put it in a infinite loop:
[code=c] while(1);
{
if(WriteProcessMemory(hProcess, (LPVOID)0x57C2A4, &newdata, newdatasize, NULL))
{

}
} [/code]
The code above will freeze your code by using a simple loop.
[code=c] for (int i = 0; i >= 0; i++)
{
// here the code
} [/code]
Author: Tukjedude
Hello EMO
Hello EMO
EMO Team
EMO Team

Cinsiyet : Erkek
Burçlar : Yay
Yılan
Mesaj Sayısı : 935
Puan : 373893
Rep Puanı : 18
Doğum tarihi : 28/11/89
Kayıt tarihi : 21/07/09
Yaş : 34
Nerden : EMO WorlD
İş/Hobiler : RCE Student / Game Hacking / Learn Beginner C#,C++,Delphi
Lakap : EMO

https://emostyle.yetkinforum.com

Sayfa başına dön Aşağa gitmek

Sayfa başına dön

- Similar topics

 
Bu forumun müsaadesi var:
Bu forumdaki mesajlara cevap veremezsiniz