Skip to content

pipebits/nmap.js

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);
});

About

A package to interact with nmap from code!

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published