Syntax
vm.read( number Address,
number
Value, number Size )
vm.read(
number Address,
string Value,
number Size )
Description
Address
Location in process virtual memory
to be written
Value
Either a number or a string of bytes
Size
Length to write in bytes
Note: 4-bytes max if Value is an number
Return
This function returns 1 on success, and returns
nil on failure.
Failure indicates inability to
write at Address.
Syntax
vm.write( number Address,
number
Value, number Size )
vm.write(
number Address,
string Value,
number Size )
Description
Address
Location in process virtual memory
to be written
Value
Either a number or a string of bytes
Size
Length to write in bytes
Note: 4-bytes max if Value is an number
Return
This function returns 1 on success, and returns
nil on failure.
Failure indicates inability to
write at Address.
Syntax
vm.findPattern( number
baseAddress,
number size,
string pattern,
string mask )
Description
Address
Location in process virtual memory
to be written
Value
Either a number or a string of bytes
Size
Length to write in bytes
Note: 4-bytes max if Value is an number
Return
This function returns 1 on success, and returns
nil on failure.
Failure indicates inability to
write at Address.
Syntax
vm.readfp( number Address,
number Size )
Description
Address
Location in process virtual memory
to be written
Value
Either a number or a string of bytes
Size
Length to write in bytes
Note: 4-bytes max if Value is an number
Return
This function returns 1 on success, and returns
nil on failure.
Failure indicates inability to
write at Address.
Syntax
vm.writefp( number Address,
number
Value, number Size )
Description
Address
Location in process virtual memory
to be written
Value
Either a number or a string of bytes
Size
Length to write in bytes
Note: 4-bytes max if Value is an number
Return
This function returns 1 on success, and returns
nil on failure.
Failure indicates inability to
write at Address.
Syntax
vm.getModuleBase(
string moduleName )
Description
Address
Location in process virtual memory
to be written
Value
Either a number or a string of bytes
Size
Length to write in bytes
Note: 4-bytes max if Value is an number
Return
This function returns 1 on success, and returns
nil on failure.
Failure indicates inability to
write at Address.
Syntax
vm.alloc( number Address,
number Size )
Description
Address
Location in process virtual memory
to be written
Value
Either a number or a string of bytes
Size
Length to write in bytes
Note: 4-bytes max if Value is an number
Return
This function returns 1 on success, and returns
nil on failure.
Failure indicates inability to
write at Address.
Syntax
vm.free( number Address )
Description
Address
Location in process virtual memory
to be written
Value
Either a number or a string of bytes
Size
Length to write in bytes
Note: 4-bytes max if Value is an number
Return
This function returns 1 on success, and returns
nil on failure.
Failure indicates inability to
write at Address.
Syntax
vm.assemble( string
Line, number baseAddress )
Description
Address
Location in process virtual memory
to be written
Value
Either a number or a string of bytes
Size
Length to write in bytes
Note: 4-bytes max if Value is an number
Return
This function returns 1 on success, and returns
nil on failure.
Failure indicates inability to
write at Address.
Syntax
vm.call( number Address )
Description
Address
Location in process virtual memory
to be written
Value
Either a number or a string of bytes
Size
Length to write in bytes
Note: 4-bytes max if Value is an number
Return
This function returns 1 on success, and returns
nil on failure.
Failure indicates inability to
write at Address.
Syntax
vm.thread_call( number
Address )
Description
Address
Location in process virtual memory
to be written
Value
Either a number or a string of bytes
Size
Length to write in bytes
Note: 4-bytes max if Value is an number
Return
This function returns 1 on success, and returns
nil on failure.
Failure indicates inability to
write at Address.
Syntax
vm.getRegisters( number
Address )
vm.getRegisters( number Address,
number Callback )
Description
Address
Location in process virtual memory
to be written
Value
Either a number or a string of bytes
Size
Length to write in bytes
Note: 4-bytes max if Value is an number
Return
This function returns 1 on success, and returns
nil on failure.
Failure indicates inability to
write at Address.
Syntax
vm.trip( number Address,
function Callback )
Description
Address
Location in process virtual memory
to be written
Value
Either a number or a string of bytes
Size
Length to write in bytes
Note: 4-bytes max if Value is an number
Return
This function returns 1 on success, and returns
nil on failure.
Failure indicates inability to
write at Address.
Syntax
vm.untrip( number Address )
Description
Address
Location in process virtual memory
to be written
Value
Either a number or a string of bytes
Size
Length to write in bytes
Note: 4-bytes max if Value is an number
Return
This function returns 1 on success, and returns
nil on failure.
Failure indicates inability to
write at Address.
Syntax
vm.getSym( number
Symbol )
Description
Address
Location in process virtual memory
to be written
Value
Either a number or a string of bytes
Size
Length to write in bytes
Note: 4-bytes max if Value is an number
Return
This function returns 1 on success, and returns
nil on failure.
Failure indicates inability to
write at Address.