0.0.5 • Published 8 years ago

memscan v0.0.5

Weekly downloads
2
License
CC0-1.0
Repository
github
Last release
8 years ago

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

0.0.5

8 years ago

0.0.4

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago