philippe::niquille | irregular niche market thoughts

Kismet Earth v0.2

update (21.8.07): Development for this small script has stopped for now. Perhaps you should have a look at this parser if you happen to run into PHP memory problems.

This finally is release v0.2 of Kismet Earth including several bugfixes and enhancements. The general idea is to parse the .xml and .gps files, get valid networks and display them on Google Earth’s worldwide map system. The php-bash script generates the following:

  • new: show a way smoother “Driven Route” (contributed by john litchfield)
  • network icons at specific location with full description (SSID, BSSID, channel, encryption, clients, vendor info, etc.)
  • your WarDrive path and some basic statistic data
  • 3D visualization of a network’s range (if enough different gps points have been captured)
  • pack the .kml to a much smaller zipped .kmz file

kismet-earth0.2_2.jpg

Be aware of the fact that having incomplete kismet log files gives you weird results like misplaced network icons or distorted 3D polygons. Maybe try increasing kismet’s logwrite time.
I know, php isn’t the fastest solution to do the whole parsing thing but it works for me.

download latest version
Kismet Earth v 0.2 and ap_manuf, client_manuf

download old versions
Kismet Earth v 0.1 beta3
Kismet Earth v 0.1 beta2
Kismet Earth v 0.1 beta1
You also need ap_manuf and client_manuf for vendor information parsing (files borrowed from kismet source tar). If your are using the old beta scripts you also need these icons here: closed and open

changelog
v0.2 (2.5.2006)

  • added Road Driven functionality and Road Section (as contributed by john.litchfield [at] gmail.com
  • changed Icons, now only internal icons are used
  • changed the visible structure
  • fixed time issue

v0.1 beta3 (28.9.2005)

  • added kmz (zip) functionality

v0.1 beta2 (26.9.2005)

  • replaced real slow for loop with foreach and gps coordinates index array, huge speed boost
  • added vendor information parser, added to description
  • tweaked description section

v0.1 beta1 (24.9.2005)

  • initial release

requirements
You need PHP5 because of the required simple_xml functions, kismet of course and a working gps.

usage
Place the parse.php into the same directory as your kismet log files. Then execute the script from the command line with:
php -f parse.php Kismet-Sep-16-2005-5 kmz (don’t add a filetype extension)
Perhaps you’ll have to change your max execution time to 0 in your php.ini file depending on how big your log files are.
If the script executes successfully you get a Kismet-Sep-16-2005-5.kml file placed into the same directory and a .kmz file if you add the optional argument ‘kmz’.

Demos (v0.2)

Demos (beta3)

You don’t like my script? Try..

screenshots

kismet-earth0.21.jpg