Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to Read/Write Memory values for a certain Process?
#2
Macro Macro2936
Code:
Copy      Help
;Declaration of Addresses/offsets
def BaseAddress        0x0BB2EE
def Offset1                0x2C7
def Offset2                0xBB1

;Setting the Pointer for the addresses
byte* Address1 = +(BaseAddress + Offset1)
byte* Address2 = +(BaseAddress + Offset2)


;Attach Process, don't allocate memory
int hWnd = win("Target Window")
__ProcessMemory o.Alloc(hWnd 0)

;Write/Read the memory

int value=1111
o.WriteOther(Address1 &value 4)
int newValue
o.ReadOther(&newValue Address1 4)
out newValue


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)