subnet-scan
v0.0.4
Published
Scans subnet ip's for specific ports and gives a list of open ones
Downloads
4
Readme
Subnet-Scan
Scans subnet ip's for specific ports and gives a list of open ones
Usage
var SubnetScanner = require('subnet-scan');
// subnet information is fetched from
// first active network interface
// throws error if no active interface is found
var ss = new SubnetScanner();
// starts scan on finish will callback with
// list of open ones as argument
ss.scan([3434, 4534, 3128], function(res) {
// res = [{host: '192.168.0.101', port: 3434}, ....]
console.log(res);
});