[go: up one dir, main page]

Skip to content

frida/frida-node

Repository files navigation

frida-node

NPM version NPM Downloads

Node.js bindings for Frida.

Depends

  • Node.js 8.x or newer

Install

Install from binary:

$ npm install frida

Install from source:

$ make
$ npm install

Build for Electron:

$ ./configure --with-runtime=electron --with-target=27.0.0
$ make
$ npm install

Examples

  • Follow Setting up the experiment to produce a binary.
  • Run the binary.
  • Take note of the memory address the binary gives you when run.
  • Run any of the examples, passing the name of the binary as a parameter, and the memory address as another.

(Note: only some examples use the memory address)

Developing

To recompile only the C++ files that have changed, first run the "Install from source" step above, then simply run make again.

Packaging

$ ./configure --with-runtime=electron --with-target=27.0.0
$ make prebuild