在Node.js中破解Wi-Fi網絡:intruder (WIP)
在Node.js中破解Wi-Fi網絡。當前支持WEP加密。
安裝
$ npm install intruder
用法
var Intruder = require('intruder'); var intruder = Intruder(); intruder.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 length of time passed between cracking attempts
- 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 theattemptevent, 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
本文由用戶 pcbbe 自行上傳分享,僅供網友學習交流。所有權歸原作者,若您的權利被侵害,請聯系管理員。
轉載本站原創文章,請注明出處,并保留原始鏈接、圖片水印。
本站是一個以用戶分享為主的開源技術平臺,歡迎各類分享!