Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NMAP not found at command location: nmap #33

Open
ameyrkale opened this issue May 18, 2018 · 4 comments
Open

NMAP not found at command location: nmap #33

ameyrkale opened this issue May 18, 2018 · 4 comments

Comments

@ameyrkale
Copy link

I am using nmap on Onion Omega 2 Linux OS, I have installed nmap globally, when I use following program

const nmap = require('node-nmap');
nmap.nmapLocation = 'nmap'; //default
let quickscan = new nmap.QuickScan('127.0.0.1 google.com');
console.log(quickscan);

it works but when I try to run NmapScan I am getting this error when I try running following program, "NMAP not found at command location: nmap"

var nmapscan = new nmap.NmapScan('127.0.0.1 google.com', '-sn');

nmapscan.on('complete',function(data){
console.log(data);
});
nmapscan.on('error', function(error){
console.log(error);
});

nmapscan.startScan();

Appreciate any help and inputs

@cojack
Copy link

cojack commented Oct 30, 2018

@ameyrkale is nmap available in $PATH?

@jedijamez567
Copy link

jedijamez567 commented Apr 24, 2019

I'm having the same issue. I'm running into this error on Cloud9, my windows machine, my mac and on AWS Lambda..... LMK if you figure it out :)

@rcodina7
Copy link

same here

@cojack
Copy link

cojack commented Sep 27, 2021

@rcodina7 Linux distribution requires to have nmap, it's not anyhow related to the package.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants