The following warnings occurred:
Warning [2] count(): Parameter must be an array or an object that implements Countable - Line: 895 - File: showthread.php PHP 7.2.34 (Linux)
File Line Function
/showthread.php 895 errorHandler->error




Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to Read/Write Memory values for a certain Process?
#1
I only have here a Sample code,dont know how to make it in QM.
just want to read/write values in a certain application.

Code:
Copy      Help
Pseudo code Example
;Declaration of Addresses/offsets
def BaseAddress        0x0BB2EE
def Offset1                0x2C7
def Offset2                0xBB1

;Setting the Pointer for the addresses
Address1 = BaseAddress + Offset1
Address2 = BaseAddress + Offset2


;Attach Process/Allocates memory
int hWnd = win("Target Window")
__ProcessMemory o.Alloc(hWnd 0)

;Write/Read the memory

int value = 1
int read = ReadProcessMemory(o Address1 &Value 4 0)
out.read
int write = WriteProcessMemory(o, BaseAddress1, &NewValue 4 0)
out.write

Hope someone can Help me.Thank you


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)