network-sniffer
v0.1.0
Published
A cross-platform network sniffer
Downloads
23
Readme
Sniffer
A cross-platform network sniffer.
Installation
$ npm install network-sniffer
Usage
var Sniffer = require('network-sniffer');
var sniffer = Sniffer();
// start sniffing on channel 5
sniffer.start(5);
// or, with an optional callback
sniffer.start(5, function(file) {
// `file` is the path to the capture file
});
// stop sniffing on channel 5
sniffer.stop(5);
You can use scanner to find the channels of all available wireless networks.
Note
If you are running Linux or Windows, and you do not have airodump-ng
installed, then install it (and the rest of the aircrack suite) with:
apt-get install aircrack-ng