Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/frida/frida-node

Frida Node.js bindings
https://github.com/frida/frida-node

Last synced: 3 months ago
JSON representation

Frida Node.js bindings

Awesome Lists containing this project

README

        

# frida-node

[![NPM version][npm-v-image]][npm-link]
[![NPM Downloads][npm-dm-image]][npm-link]

Node.js bindings for [Frida](https://frida.re).

## Depends

- Node.js 8.x or newer

## Install

Install from binary:

```sh
$ npm install frida
```

Install from source:

```sh
$ make
$ npm install
```

Build for Electron:

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

## Examples

* Follow [Setting up the experiment](https://frida.re/docs/functions/) 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

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

[npm-link]: https://www.npmjs.com/package/frida
[npm-v-image]: https://img.shields.io/npm/v/frida.svg
[npm-dm-image]: https://img.shields.io/npm/dm/frida.svg