memscan

0.0.5 • Public • Published

memscan

Public Domain

A process memory reader/writer for node!

Windows only (sorry)

Docs

getProcesses() returns an object containing all running processes where keys are process ids and values are executable names.

findProcess(executableName) returns the process id of a running process matching given executable name if one is found, otherwise it returns 0.

openProcess(pid) returns a Process object.

Process.scanForData(Uint8Array) returns an array with all addresses matching the given data.

Process.scanForInt32(number) returns an array with all addresses matching the given number.

Process.scanForString(str) returns an array with all addresses matching the given string.

Process.readAtAddress(address, length) returns data at the given address with given length. Address is to be given as a number.

Process.readInt32AtAddress(address) returns an int32 at the given address.

Process.readStringAtAddress(address, length) returns a string at the given address with given length.

Process.writeAtAddress(address, Uint8Array) writes array to given address.

Process.writeInt32AtAddress(address, number) writes int32 to given address.

Process.writeStringAtAddress(address, str) writes string to given address.

Process.close() closes the process.

Example?

See the test.js in this repo for an example of usage.

License

CC0

Package Sidebar

Install

npm i memscan

Weekly Downloads

5

Version

0.0.5

License

CC0-1.0

Last publish

Collaborators

  • jerwuqu