positiveflat / scan-wifi-bot

Bot which scans specified wifi access points and sends notification to slack.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

scan-wifi-bot

Bot which scans specified wifi access points and sends notification to slack when access points are detected.

Prerequisite

Setup

1. Add channel id to the line 6 on bot.js
var channel = <channel id>;
2. Update FOO-* to any SSID name
    exec(airport + ' -s | grep FOO-*', function(err, stdout, stderr){
3. Edit message on bot.js (
var message = <message>;
4. install node modules

Run the following command on terminal.

$npm install

How to run bot

Run the following command on terminal.

$token=<token> node bot.js

About

Bot which scans specified wifi access points and sends notification to slack.

License:MIT License


Languages

Language:JavaScript 100.0%