intruder
v0.2.0
Published
Wi-Fi network cracking in Node.js
Downloads
29
Readme
intruder
Wi-Fi network cracking in Node.js. Currently supports WEP encryption.
Installation
$ npm install intruder
Usage
var Intruder = require('intruder');
var intruder = Intruder();
intruder
.on('attempt', function(ivs) {
console.log(ivs);
})
.crack('Home', function(err, key) {
if (err) throw new Error(err);
console.log(key);
});
API
Intruder(options)
Create a new instance of Intruder that can crack a Wi-Fi network.
The available options are:
interval
: the time between crack attempts, defaults to 2000000mschannel
: the channel to sniff packets on
.crack()
Crack a Wi-Fi network by name:
intruder.crack('My Wi-Fi Network', function(err, key) {
// ...
});
.on()
Listen for the attempt
event, which is emitted on each cracking attempt:
intruder.on('attempt', function(ivs) {
console.log(ivs) // > 80,000 is good
})
Note
If you do not have aircrack, install it with Homebrew:
brew install aircrack-ng
or MacPorts:
sudo port install aircrack-ng
or APT:
sudo apt-get install aircrack-ng
Warning
Please do not use this to crack other people's networks. Let's not have anyone going to jail.