Socket
Socket
Sign inDemoInstall

nmap-interface

Package Overview
Dependencies
1
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    nmap-interface

A package to interact with nmap from code!


Version published
Weekly downloads
4
increased by300%
Maintainers
1
Install size
4.46 kB
Created
Weekly downloads
 

Readme

Source

nmap node

A package to interact with nmap from code!

Instalation

For this package to work you need nmap and node installed in your machine.

npm:
npm install nmap-node

Usage

//Import the module
const scanner = require("nmap-node");

//Create a new client and define the target
let Client = new scanner("10.0.0.1");

//Run the scan
Client.regularScan();

//On raw data print it
Client.on("raw", (output) => {
  console.log(output);
});

Client.on("error", (error) => {
  console.log(error);
});

Keywords

FAQs

Last updated on 28 Aug 2021

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc