Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including node-reaver with all npm packages installed. Try it out:

var nodeReaver = require("node-reaver")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

node-reaver v3.1.1

Used in pretty much the exact same way as the actual Cortex Reaver API. The name of the endpoint becomes the function.

NPM module to interact with the Cortex Reaver API

Now with SSL!

Used in pretty much the exact same way as the actual API. The name of the endpoint becomes the function with a promise or callback based return.

Example:

var cr = require('node-reaver')

//Endpoint for the image command 'boop' would be http://api.shodanbot.com/interactions/boop on the site
//Here it becomes the following:

cr.boop().then(boop=>{
  console.log(boop)
//{"img": "https://cdn.shodanbot.com/api/interactions/boop/boop4.PNG?raw=true"}
})

Or with callbacks:

var cr = require('node-reaver')

cr.boop(function(req, res) {
  console.log(res)
  //{"img": "https://cdn.shodanbot.com/api/interactions/boop/boop1.PNG?raw=true"}
})
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free