Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

STNW - (Simple Typescript Nmap Wrapper)

A simple typescript nmap wrapper to perform basic nmap operations

Github repository

For any request please add an issue to the git repo. It'll be a pleasure :)

Before everything...

Some commands require root priviliges. So to bypass this follow this tutorial here

Installation

npm i stnw

Example usage

import NmapScanner from "nmap";

// Example usage:
const scanner = new NmapScanner("example.com");

scanner
  .quickScan()
  .then((result) => console.log("Quick Scan Result:\n", result));
scanner
  .scanPort(80)
  .then((result) => console.log("Port Scan Result:\n", result));
scanner.isHostUp().then((result) => console.log("Host Up Result:\n", result));
scanner.getOs().then((result) => console.log("OS Detection Result:\n", result));
scanner
  .scanServices()
  .then((result) => console.log("Service Scan Result:\n", result));

About

Simple Nmap Scanner for Nodejs

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages