harryhorton / node-nmap

NPM package for interfacing with local NMAP installation
MIT License
67 stars 26 forks source link

Tring to get the OS details throws error #38

Open sahanakk opened 4 years ago

sahanakk commented 4 years ago

When I try to run the nmap OS and port scan throws an error. The error is mentioned below.

TCP/IP fingerprinting (for OS scan) requires root privileges. QUITTING!

Mehdiway commented 4 years ago

You simply need to run your project with root privileges. Example :

sudo node index.js