intruder

0.2.0 • Public • Published

intruder

NPM version build status license

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 2000000ms
  • channel: 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.

License

MIT

Readme

Keywords

none

Package Sidebar

Install

npm i intruder

Weekly Downloads

3

Version

0.2.0

License

MIT

Last publish

Collaborators

  • npm-support