EMO Style ForumPro - Hos Geldiniz
Changing a memory value. C# Uyeols10

Join the forum, it's quick and easy

EMO Style ForumPro - Hos Geldiniz
Changing a memory value. C# 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 3 kullanıcı online :: 0 Kayıtlı, 0 Gizli ve 3 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
Changing a memory value. C# I_icon_minitimeCuma Ağus. 29, 2014 8:33 am tarafından Hello EMO

» goldenchase.net maden yaparak para kazanma
Changing a memory value. C# I_icon_minitimeCuma Ağus. 29, 2014 8:18 am tarafından Hello EMO

» etichal hacker görsel egitim seti
Changing a memory value. C# I_icon_minitimeÇarş. Ağus. 06, 2014 4:57 am tarafından Hello EMO

» KO TBL Source C#
Changing a memory value. C# I_icon_minitimePtsi Ara. 09, 2013 6:36 am tarafından Hello EMO

» x86 Registers
Changing a memory value. C# I_icon_minitimeC.tesi Ağus. 24, 2013 5:02 am tarafından Hello EMO

» [Tutorial] Pegando Address, Pointers de WYD
Changing a memory value. C# I_icon_minitimeÇarş. Tem. 10, 2013 7:25 am tarafından Hello EMO

» [Tutorial] Pegando Address, Pointers de CS Metodo²
Changing a memory value. C# I_icon_minitimeÇarş. Tem. 10, 2013 7:23 am tarafından Hello EMO

» [Tutorial] Aprendendo basico deASM OLLYDBG
Changing a memory value. C# I_icon_minitimeÇarş. Tem. 10, 2013 7:22 am tarafından Hello EMO

» Basic C# DLL injector
Changing a memory value. C# I_icon_minitimePtsi Tem. 08, 2013 7:48 am tarafından Hello EMO

Reklam

Changing a memory value. C#

Aşağa gitmek

Changing a memory value. C# Empty Changing a memory value. C#

Mesaj tarafından EMO Salı Mayıs 31, 2011 2:47 am

OK, I found something that works for writing into the memory:

To use the C/C++ functions I called these parts:
Expand|Select|Wrap|Line Numbers

  1. [DllImport("kernel32.dll")]

  2. public static extern Int32 CloseHandle(IntPtr hObject);

  3. [DllImport("kernel32.dll")]

  4. public static extern IntPtr OpenProcess(UInt32 dwDesiredAccess, Int32 bInheritHandle, UInt32 dwProcessId);

  5. [DllImport("kernel32.dll")]

  6. public static extern Int32 WriteProcessMemory(IntPtr hProcess, IntPtr lpBaseAddress, uint[] lpBuffer, UInt32 nSize, IntPtr lpNumberOfBytesWritten);

  7. [DllImport("kernel32.dll")]

  8. public static extern Int32 ReadProcessMemory(IntPtr hProcess, IntPtr lpBaseAddress, [In, Out] byte[] buffer, UInt32 size, out IntPtr lpNumberOfBytesRead);





And I used them as followed:
Expand|Select|Wrap|Line Numbers

  1. Process proc = Process.GetCurrentProcess();

  2. IntPtr procHandle = OpenProcess(0x1F0FFF, 0, (UInt32)proc.Id);

  3. WriteProcessMemory(procHandle, (IntPtr)0x038C3148, new uint[] { 0x08 }, 4, (IntPtr)0);

  4. byte[] b = null;

  5. IntPtr i;

  6. if((ReadProcessMemory(procHandle, (IntPtr)0x038C3148, b, 4, out i) != 0))

  7. MessageBox.Show(b.ToString());





The writing works (because the money value changes), but I don't get a
messagebox, so the reading doesn't work. What am I doing wrong?
To 0x1F0FFF parameter to open the handle is "enables all possible access rights to the process specified by the Process ID."
EMO
EMO
EMO Team
EMO Team

Cinsiyet : Erkek
Burçlar : Yay
Yılan
Mesaj Sayısı : 184
Puan : 237743
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

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