Crates.io | r3mem |
lib.rs | r3mem |
version | 0.1.1 |
source | src |
created_at | 2023-07-03 14:33:30.362688 |
updated_at | 2023-07-03 15:11:09.274378 |
description | A Simple Ring3 Memory RPM WPM Lib |
homepage | |
repository | |
max_upload_size | |
id | 907069 |
size | 7,039 |
This is a simple Rust library for performing Read Process Memory (RPM) and Write Process Memory (WPM) operations in Ring 3 on Windows. It allows you to read and write memory in a target process using its process ID (PID) and the base address of its main module.
use r3mem::r3mem;
fn main() {
let mut my_proc:r3mem::Proc = unsafe {std::mem::zeroed()};
my_proc.init("notepad.exe");
println!("PID = {} ImageBase = {:x}" , my_proc.pid , my_proc.image_base);
//Read Example
let _value: i32 = my_proc.read::<i32>(my_proc.image_base + 0x65000);
//Write Example
my_proc.write::<i32>(my_proc.image_base + 0x65000, _value);
my_proc.unint();
}
Add Injection Methods: CreateRemoteThread_LoadLibrary SetWindowHookEx ManualMapping Reflective Injection HijackThread and more
0xFF15#8049 (DarckAce007)
Made with <3