Wi-Fi network cracking in Node.js
npm install intruderWi-Fi network cracking in Node.js. Currently supports WEP encryption.
$ npm install intruder
``js
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);
});
`
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:
`js`
intruder.crack('My Wi-Fi Network', function(err, key) {
// ...
});
Listen for the attempt event, which is emitted on each cracking attempt:
`js`
intruder.on('attempt', function(ivs) {
console.log(ivs) // > 80,000 is good
})
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`
Please do not use this to crack other people's networks. Let's not have anyone going to jail.
[npm-image]: https://img.shields.io/npm/v/intruder.svg?style=flat-square
[npm-url]: https://npmjs.org/package/intruder
[circle-image]: https://img.shields.io/circleci/project/stevenmiller888/intruder.svg
[circle-url]: https://circleci.com/gh/stevenmiller888/intruder
[license-image]: https://img.shields.io/npm/l/express.svg
[license-url]: https://tldrlegal.com/license/mit-license