Process Memory Reader

Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...
Onaylı Üye
Katılım
6 Şub 2016
Mesajlar
82
Tepki puanı
7
Ödüller
9
Yaş
32
10 HİZMET YILI
Process Memory Reader Library elinde olan atabilirmi
Aradığım library ekte
 

Ekli dosyalar

  • Screenshot_2.png
    6.1 KB · Görüntüleme: 81
Son düzenleme:
je vole dans l espace
Griffin Premium
Katılım
24 Haz 2017
Mesajlar
1,991
Çözümler
13
Tepki puanı
320
Ödüller
11
8 HİZMET YILI
Githubda bol bol var
 
☾☆ ~ ☾☆
Seçkin Üye
Katılım
23 Ara 2020
Mesajlar
311
Çözümler
3
Tepki puanı
32
Ödüller
5
5 HİZMET YILI
C#:
class Program
{
    private static readonly int PROCESS_WM_READ = 0x0010;

    [DllImport("kernel32.dll")]
    public static extern IntPtr OpenProcess(int dwDesiredAccess, bool bInheritHandle, int dwProcessId);

    [DllImport("kernel32.dll")]
    public static extern bool ReadProcessMemory(int hProcess, int lpBaseAddress, byte[] lpBuffer, int dwSize, ref int lpNumberOfBytesRead);

    const string procName = "hl";
    static Process process = null;
    static IntPtr processHandle;

    public static byte[] Read(int handle, int address, int size, ref int bytes)
    {
        byte[] buffer = new byte[size];
        ReadProcessMemory(handle, address, buffer, size, ref bytes);
        return buffer;
    }

    static void Main(string[] args)
    {
        int bytesRead = 0;
        byte[] value = new byte[20];
        int address = 0x019EF0D7;

        Console.WriteLine("Starting");
        process = Process.GetProcessesByName(procName)[0];
        processHandle = OpenProcess(PROCESS_WM_READ, false, process.Id);

        while (true)
        {
            //ReadProcessMemory((int)processHandle, jumpAddresses, jumpValues, jumpValues.Length, ref bytesRead);
            value = Read((int)processHandle, address, 20, ref bytesRead);
            Console.WriteLine(int.Parse(bytesRead.ToString()) + " " + bytesRead);
            Thread.Sleep(100);
        }

    }
}
 
Durum
Üzgünüz bu konu cevaplar için kapatılmıştır...