PaulDotCom mailing list archives

Re: How to merge Kismet´s netxml files for use with Giskismet


From: Nils <nils () hemmann de>
Date: Fri, 27 Aug 2010 14:44:04 +0200

 Hey Robin, sounds great  :-)

Being a Python novice I started fiddling around with the netxml2kml.py
script I mentioned earlier (from
http://www.salecker.org/software/netxml2kml/en)
I added a few lines to get the average of the GPS data of two
subsequently updated access points. It works pretty OK.

if len(self.gps)>0 and len(new.gps)>0:
                        self.gps['avg-lon'] = (float(new.gps['avg-lon'])
+ float(self.gps['avg-lon'])) / 2
                        print "Average GPS lon: %s" %
str(self.gps['avg-lon'])
                        self.gps['avg-lat'] = (float(new.gps['avg-lat'])
+ float(self.gps['avg-lat'])) / 2
                        print "Average GPS lat: %s" %
str(self.gps['avg-lat'])
               
But I'd love to have giskismet doing the same job and your suggestion
taking the stronger signal sounds much better to me than just using the
average GPS data.
Now I figured that giskismet is plain Perl and I might be able to do it 
on my own.......but if you have some spare time.....and I guess you
could do it in 5 minutes  :-)

Cheers,
Nils



Am 26.08.2010 10:14, schrieb Robin Wood:
On 25 August 2010 23:29, Nils <nils () hemmann de> wrote:
 Thanks a million. The current giskismet version doesn't have the issue
when the wireless.dbl file already exists.
New accesspoints are being added subsequently, but only new once.
If one would like to add an already existing AP from a more thorough
wardrive later on the signal strength isn't taken into consideration.
Even though the signal strength might be much higher the GPS coordinates
are not being changed.

Any suggestions here?
Would you prefer it to be in there twice or to have the one with
higher signal strength take over? I could probably do you a custom
version with either option.

Robin

Nils

Am 25.08.2010 18:42, schrieb Robin Wood:
On 25 August 2010 17:33, Nils <nils () hemmann de> wrote:
 Hi Robin,
that's something I already tried. After creation of the initial
wireless.dbl file I tried to add other .netxml files ending up with the
following error message:

giskismet   -x ./Kismet-20100825-14-48-13-1.netxml
Checking Database for BSSID:  00:01:E3:EB:xx:xx ...
Checking Database for BSSID:  00:02:78:41:xx:xx...
Checking Database for BSSID:  00:03:C9:54:xx:xx...
Checking Database for BSSID:  00:03:C9:FB:xx:xx... AP added
Error inserting client No such file or directory

When running the same command line multiple times it seems to move on in
the same .netxml file.

But I stumbled upon the following nice script by Patrick Salecker on
http://www.salecker.org/software/netxml2kml/en
It can combine multiple kismet new-core netxml files in a single .kml or
.kmz file but having it working with giskismet would be great, too
especially due to the possibilities of sqlite queries.

Are you using the latest version? I found and fixed a bug where if the
database existed already then it failed to work properly, it sounds
like that might be your problem.

Robin
_______________________________________________
Pauldotcom mailing list
Pauldotcom () mail pauldotcom com
http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom
Main Web Site: http://pauldotcom.com
_______________________________________________
Pauldotcom mailing list
Pauldotcom () mail pauldotcom com
http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom
Main Web Site: http://pauldotcom.com

_______________________________________________
Pauldotcom mailing list
Pauldotcom () mail pauldotcom com
http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom
Main Web Site: http://pauldotcom.com

_______________________________________________
Pauldotcom mailing list
Pauldotcom () mail pauldotcom com
http://mail.pauldotcom.com/cgi-bin/mailman/listinfo/pauldotcom
Main Web Site: http://pauldotcom.com


Current thread: