Kismet Wireless

Kismet Forums

 

Posted by:dragorn
Subject:Email Alerts
Date:18:10:15 15/04/2009

> Hi,
>
> Thanks for the quick reply! Unfortunately I would not know where to start with setting something like this up. Do you know of any guides to get me started? I presume I would need to link into the kismet server and then listen for the alerts somehow, then trigger the email.
>

The TCP network protocol is fairly simple (ascii) and is documented in docs/DEVEL.client

For something like this the simplest case would be something like

cat << EOF | nc localhost 2501 | mailscript.sh
!0 REMOVE TIME
!0 ENABLE ALERT *
EOF

and mailscript.sh have something like:

while [ 1 ]; do
read x
echo $x | mail foo@bar.com
done


or something like that. Haven't actually tested it. :)

-m


Reply to this message