Home - Rob--/memoryjs GitHub Wiki

What is memoryjs?

memoryjs is a Node add-on that allows users to call Windows API functions from JavaScript. memoryjs is a wrapper around these functions making it easy for users to read and write process memory using standard WinAPI functions such as ReadProcessMemory and WriteProcessMemory.

Why?

Why not? By calling WinAPI functions from Node.js we are simply introducing new possibilities such as creating game hacks with awesome interfaces using Node Webkit or Electron. It also greatly simplifies the case where process memory is read and reported to a website for visualisation or statistics collection (e.g. PUBG map hack).

Features

  • List all open processes
  • List all modules associated with a process
  • Find a specific module within a process
  • Read process memory
  • Write process memory
  • Read buffers from memory
  • Write buffer to memory
  • Change memory protection
  • Reserve/allocate, commit or change regions of memory
  • Pattern scanning
  • Execute a function within a process

Functions that this library directly exposes from the WinAPI: