Sei sulla pagina 1di 1

Public Declare Function ReadProcessMemory Lib "kernel32" Alias "ReadProcessMemor

y" (ByVal hProcess As IntPtr, ByVal lpBaseAddress As Integer, ByVal buffer As By


te(), ByVal size As Integer, ByVal lpNumberOfBytesRead As Integer) As Boolean
Public Declare Function WriteProcessMemory Lib "kernel32" Alias "WriteProces
sMemory" (ByVal hProcess As IntPtr, ByVal lpBaseAddress As Integer, ByVal buffer
As Byte(), ByVal size As Integer, ByVal lpNumberOfBytesWritten As Integer) As B
oolean
Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vkey As Long)
As Integer
Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As Int32)
As Short
Private Declare Function GetAsyncKeyState Lib "user32" (ByVal vKey As System
.Windows.Forms.Keys) As Short
Dim drag As Boolean
Dim mousex As Integer
Dim mousey As Integer

'READS VALUE FROM POINTER


'Me.Text = Read("PROCESSNAME", "POINTER 0 0 0 0", GetType(Integer))
'Me.Text = Read("1503Startup", "1503Startup.exe+00002624 410 38 2D8 20 259",
GetType(Integer))
'------------------------------------------
'WRITES VALUE TO POINTER
'Write("PROCESSNAME", "POINTER 0 0 0 0", &H27E5, GetType(Integer))
'Write("Tutorial-i386", "Tutorial-i386.exe+00231360 0", &H27E5, GetType(Inte
ger))
'------------------------------------------
'MEMORY POKE INSERT BYTES BACKWARDS
'Write("PROCESSNAME", "ADRESS", &H9090, GetType(Integer))
'Write("Tutorial-i386", "4264E9", &H9090, GetType(Integer))
'------------------------------------------
'WRITE TO STATIC ADRESS
'Write("PROCESSNAME", "ADRESS", 9999, GetType(Integer))
'Write("1503Startup", "2B171F2D", 99, GetType(Integer))
'------------------------------------------
'READ FROM STATIC ADRESS
'Me.Text = Read("PROCESSNAME", "ADRESS", GetType(Integer))
'Me.Text = Read("1503Startup", "2B171F2D", GetType(Integer))

'ProcMEM
'WRITE TO STATIC ADDY:
'Mem.Write("&Hxxxxxx", "NEWVAL", GetType(Integer))
'POKE OPCODES
'Mem.Patch(&Hxxxxx, "NEWOPCODE", "NEWOPCODE")
'WRITE TO POINTER
'Mem.Write("FILE.EXE+XXXXXXX XX XX XX XX", "NEWVAL", GetType(Integer))

Potrebbero piacerti anche