Kismet Wireless

Kismet Forums

 

Posted by:scrivomcdivo
Subject:Kismet results in realtime to MySQL database
Date:11:53:05 07/01/2011

> > > Kismet supports any number (well, I think somewhere it's limited to like 10) of connections. Right now when you type 'kismet', you're launching the kismet client, which in turn brings up the server.
> > >
> > > Other code can connect to it, get all the info the client displays now, and do whatever it wants with it. Ruby is one way to do this fairly simply, and there's some example code in the ruby/ directory.
> > >
> > > So pretty much you'd run kismet as normal, and then run your sql logger, too.
> >
> > Here, I tossed together a really simple sql logger - you'll want to expand it to log more fields, also probably the SSID, etc, but this should give you (and others) a good start.
> >
> > I'd be interested to see where you go from here, if you keep developing on it, patches would be very welcome.
> >
> > https://www.kismetwireless.net/code/svn/trunk/ruby/kismet_sql.rb
>
> Dragorn,
>
> Thanks for the link and the logger - it is appreciated and I'll have a look at it now.
>
> I've just found the below link to which is a similar process but written in Python. Thought it may be of interest:-
>
> http://redlinesec.blogspot.com/2010/08/kismet-sccm-skism.html

Dragorn,

Hope you're well. So I've made progress with my MySQL database but decided to use Python as opposed to Ruby as I feel more comfortable with this. I have a command through the socket (server / client) which is:-

s.send('\n!0 enable client mac,bssid,lasttime')

This is taken from the Skism app as per the above posting. Now what I want is to amend this so that GPS info is streamed too. I don't know if the server or the client works out the most probable GPS value (based on average signal strength etc). Can you clarify if the server does this? If so, what tag is given to this data when streaming from the server just so I can include it in the above code?

Thanks


Reply to this message