0.0.5 • Published 8 years ago

url-to-exec v0.0.5

Weekly downloads
1
License
ISC
Repository
-
Last release
8 years ago

url to exec

do NOT use this module in PRODUCTION. It should NOT be accessible over internet(insecure)!

Requirements

  • node.js

Installation

$ [sudo] npm install -g url-to-exec

Although it is really not advised to install with sudo. I would advise to install via nvm

Usage

Starting server:

url-to-exec --port=<port> --host=<host>

if no port and host it will default bind to http://127.0.0.1:1234

For this example we assume $ which whoami | wc -m will return number greater than 0.

When you have not specified a port and host and you do $ curl "http://localhost:1234?cmd=whoami" it will return your username => alfredwesterveld\n

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago