Giriş yap
En iyi yollayıcılar
Hello EMO | ||||
EMO | ||||
eMoStyLe | ||||
BesimBICER | ||||
GameKinG | ||||
Crysis | ||||
~>!.DεvιLρяιεsт.!<~ | ||||
MeTaL | ||||
TrueCrime | ||||
djhayal3t |
Istatistikler
Toplam 203 kayıtlı kullanıcımız varSon kaydolan kullanıcımız: crayzboy76
Kullanıcılarımız toplam 1186 mesaj attılar bunda 862 konu
Arama
Sosyal yer imi
Sosyal bookmarking sitesinde Emo, Emo nedir, Emo resimleri, Emo Kıyafetleri, Emo Sözleri, Emo Oyunları, EmoTurkey, Emo Nickler, Emo Avatarları, Punk, Punk Resimleri, Punk Avatarları, Rock, Rock Resimleri, Rock Avatarları, Msn Nickleri, Msn Avatarları, Müzik adresi saklayın ve paylaşın
Sosyal bookmarking sitesinde EMO Style ForumPro - Hos Geldiniz adresi saklayın ve paylaşın
Kimler hatta?
Toplam 11 kullanıcı online :: 0 Kayıtlı, 0 Gizli ve 11 Misafir Yok
Sitede bugüne kadar en çok 217 kişi C.tesi Tem. 29, 2017 1:46 am tarihinde online oldu.
En son konular
Reklam
Read/Write ProcessMemory
1 sayfadaki 1 sayfası
Read/Write ProcessMemory
Reading and writing to process memory is a great to mod a program which is running or create a code cave and even make a virus .
In order to read and write to the process memory we need to find the process ID, you will then need to know where to tell your program to look, which is the Address of the memory. Lets say we wanted to mod something like Minecraft and get 100000 lives. What we would need to do is find the address which contains the value of your number of lives in the game. You could do this by using Cheat Engine or by creating your own program to search through memory address values which contain the number of lives you have. Lets say you found the address and now you need a way to write to it. For example the address is 0x00401000 (which is stupid considering that is where the memory address starts for most processes). You would then edit that address's value to something like 10000 and poof you have 10000 lives.
This code I created will merely go about creating havoc in any process you chose, another reason it is great for writing viruses.
So the above code is an example of how you can use the write memory process function of C++ to destroy a process, please reply if you have any questions =D
In order to read and write to the process memory we need to find the process ID, you will then need to know where to tell your program to look, which is the Address of the memory. Lets say we wanted to mod something like Minecraft and get 100000 lives. What we would need to do is find the address which contains the value of your number of lives in the game. You could do this by using Cheat Engine or by creating your own program to search through memory address values which contain the number of lives you have. Lets say you found the address and now you need a way to write to it. For example the address is 0x00401000 (which is stupid considering that is where the memory address starts for most processes). You would then edit that address's value to something like 10000 and poof you have 10000 lives.
This code I created will merely go about creating havoc in any process you chose, another reason it is great for writing viruses.
- Kod:
#include <windows.h>
#include <iostream>
using namespace std;
int main()
{
BYTE nop[]={0x90}; //In ASM 90 stands for NOP or No operation
HWND hWnd;
DWORD processId;
HANDLE hProcess;
hWnd = FindWindow(NULL, "Minecraft"); //The window name
GetWindowThreadProcessId(hWnd, &processId); //Finds teh window's process ID
hProcess = OpenProcess(PROCESS_ALL_ACCESS, 0, processId);
int lulz; //interger for feedback
while(2==2) //Basically I was lazy so I just wanted to make a simple loop
{
location++; //increase location so it can destroy entire process, not just one address
ReadProcessMemory(hProcess, (LPVOID)location, &lulz, 1, 0); //gets the address value before it is edited.
cout << "Data from " << location << " is: " << hex << lulz << std::endl; //display info from address
WriteProcessMemory(hProcess, (LPVOID)location, &nop, 1, NULL); //write the NOP arrary to the address vaule
ReadProcessMemory(hProcess, (LPVOID)location, &lulz, 1, 0); //gets the address vaule after modification of NOPING!
cout << "Data from " << location << "now: " << hex << lulz << endl; //display the effects
if(lulz == NULL) //It'd take probably over an hour to actually finish but 30 seconds should be enough .
{
cout << "\nEntire Process Is NOP'd";
cin.get();
cin.get();
return 0;
}
}
cin.get();
return 0;
}
So the above code is an example of how you can use the write memory process function of C++ to destroy a process, please reply if you have any questions =D
EMO- EMO Team
- Cinsiyet :
Burçlar :
Mesaj Sayısı : 184
Puan : 247393
Rep Puanı : 5
Doğum tarihi : 28/11/89
Kayıt tarihi : 18/05/11
Yaş : 34
Nerden : EMO world
İş/Hobiler : RCE Student / Game Hacking / Learn Beginner C#,C++,Delphi
Lakap : EMO
Similar topics
» [C++ - Modulo]Read/Write ProcessMemory
» Basic Memory Read/Write Class
» Read Process Memory C#
» C# read memory from pointer + CE
» Basic Memory Read/Write Class
» Read Process Memory C#
» C# read memory from pointer + CE
1 sayfadaki 1 sayfası
Bu forumun müsaadesi var:
Bu forumdaki mesajlara cevap veremezsiniz
Cuma Ağus. 29, 2014 8:33 am tarafından Hello EMO
» goldenchase.net maden yaparak para kazanma
Cuma Ağus. 29, 2014 8:18 am tarafından Hello EMO
» etichal hacker görsel egitim seti
Çarş. Ağus. 06, 2014 4:57 am tarafından Hello EMO
» KO TBL Source C#
Ptsi Ara. 09, 2013 6:36 am tarafından Hello EMO
» x86 Registers
C.tesi Ağus. 24, 2013 5:02 am tarafından Hello EMO
» [Tutorial] Pegando Address, Pointers de WYD
Çarş. Tem. 10, 2013 7:25 am tarafından Hello EMO
» [Tutorial] Pegando Address, Pointers de CS Metodo²
Çarş. Tem. 10, 2013 7:23 am tarafından Hello EMO
» [Tutorial] Aprendendo basico deASM OLLYDBG
Çarş. Tem. 10, 2013 7:22 am tarafından Hello EMO
» Basic C# DLL injector
Ptsi Tem. 08, 2013 7:48 am tarafından Hello EMO