hijack-process
This package can be used to inspect and manipulate the memory of running processes. Please note that most platforms restrict virtual memory access to priviliged users.
Table of Contents
- hijack(id) - hijack a process
- process.read(address, size) - read a byte array
- process.write(address, bytes) - write a byte array
Documentation
# hijack(id)
Attaches to the process with the specified id.
var hijack = ;var thisProcess = ;// => { handle: 1234 }
# process.read(address, size)
Read size bytes from the specified address.
var hijack = ;var thisProcess = ;var bytes = thisProcess;// => [ 0, 1, 2, 3, 4, 5, 6, 7 ]
# process.write(address, bytes)
Write an array of bytes to the specific address.
var hijack = ;var thisProcess = ;var ascending = thisProcess;// => [ 0, 1, 2, 3, 4, 5, 6, 7 ]thisProcess;var descending = thisProcess;// => [ 7, 6, 5, 4, 3, 2, 1, 0 ]