<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jkx@home &#187; kismet</title>
	<atom:link href="http://www.larsen-b.com/tags/kismet/feed" rel="self" type="application/rss+xml" />
	<link>http://www.larsen-b.com</link>
	<description>Titanium Exposé</description>
	<lastBuildDate>Wed, 20 May 2026 16:33:52 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5</generator>
		<item>
		<title>Extract GPS from Kismet log with ElementTree</title>
		<link>http://www.larsen-b.com/Article/204.html</link>
		<comments>http://www.larsen-b.com/Article/204.html#comments</comments>
		<pubDate>Mon, 23 May 2005 21:58:45 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[gps]]></category>
		<category><![CDATA[kismet]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Wifi]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[I have read a lot of noise about ElementTree but never really used it. Tonight i need to extract a bunch of GPS data from a kismet log file. Let&#8217;s give it a try from elementtree import ElementTree data = &#8230; <a href="http://www.larsen-b.com/Article/204.html">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>I have read a lot of noise about <a class="reference" href="http://effbot.org/zone/element-index.htm">ElementTree</a> but never really used it. Tonight i need to extract a bunch of GPS data from a kismet log file. Let&#8217;s give it a try</p>
<pre class="literal-block">from elementtree import ElementTree

data = open('Kismet-May-22-2005-4.xml','r').read()

detection = ElementTree.XML(data)

for node in detection.getchildren():
try:
print "SSID: " + node.find('SSID').text,
except AttributeError:pass  #hidden SSID
print "BSSID: " +  node.find('BSSID').text,
gps = node.find('gps-info')
print "Lon: " + gps.find('max-lon').text +  " Lat: "  + gps.find('max-lat').text</pre>
<p>Really simple, and seems to offer really good speed. I now have another weapon for every day work.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.larsen-b.com/Article/204.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
