radare2/doc/node.js
2019-06-18 14:51:30 +08:00
..
index.js Killed cons->truecolor in favor of cons->color 2018-02-24 11:47:38 +01:00
Makefile Better r2-nodejs webserver, honor http.port, works from the shell too 2015-03-31 00:59:03 +02:00
package.json Upgrade to latest express to silent github warning 2018-11-26 12:35:41 +01:00
README.md Fix grammar across the code 2019-06-18 14:51:30 +08:00

Node.JS express based webserver

Author : pancake pancake@nopcode.org

Date: 2015-03-31

Description

This is the nodejs implementation of a websever for radare2. This script can be executed from inside r2 by using the following command:

> #!pipe node .

If you don't have any other .js handler (like duktape) you can run it directly like this:

$ . index.js

From the shell you can run the script like this:

$ r2 -c '#!pipe node index.js' /bin/ls

Or just run it from nodejs:

$ node .

Or specify a different file to open

$ node . /bin/awk