My favorites
▼
|
Sign in
kisgearth
kisgearth is a small perl script that gives you the possibility to convert your kismet xml/gps logfiles to google earth kml files.
Project Home
Downloads
Wiki
Issues
Source
Export to GitHub
READ-ONLY: This project has been
archived
. For more information see
this post
.
Search
Search within:
All issues
Open issues
New issues
Issues to verify
for
Advanced search
Search tips
Subscriptions
Issue
8
attachment: use_ssid_if_available.diff
(1.9 KB)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
Index: kisgearth.pl
===================================================================
--- kisgearth.pl (revision 25)
+++ kisgearth.pl (working copy)
@@ -28,6 +28,7 @@
use XML::Simple;
use Class::Struct;
+use Data::Dumper;
# activating autoflush on stdout, stderr gets flushed automatic
$| = 1;
@@ -640,7 +641,7 @@
exit 0;
}elsif(($ARGV[$optcnt] eq '-V') or ($ARGV[$optcnt] eq '--version')) {
&print_version();
- exit 0;
+ return 0;
}elsif(($ARGV[$optcnt] eq '-v') or ($ARGV[$optcnt] eq '--verbose')) {
if($MSGLVL < 2) {
$MSGLVL = 2;
@@ -897,7 +898,9 @@
$networks[$net_count]->ngpsinfo(new Gpsinfo);
$networks[$net_count]->nnumber($N->{'number'});
- $networks[$net_count]->nssid($N->{'SSID'});
+ if(ref($N->{'SSID'}) eq "HASH") {
+ $networks[$net_count]->nssid($N->{'SSID'}->{'essid'}->{'content'});
+ }
$networks[$net_count]->nbssid($N->{'BSSID'});
$networks[$net_count]->ninfo($N->{'info'});
$networks[$net_count]->nchannel($N->{'channel'});
@@ -981,7 +984,6 @@
foreach $N (@{$data->{'gps-point'}}) {
$GPSpoints[$gps_cnt] = GPSpoint->new();
-
$GPSpoints[$gps_cnt]->bssid($N->{'bssid'});
$GPSpoints[$gps_cnt]->timesec($N->{'time-sec'});
$GPSpoints[$gps_cnt]->timeusec($N->{'time-usec'});
@@ -1641,7 +1643,7 @@
</Document>
";
}elsif($ORDER == 1) {
- for($tmp_cnt = 0 ; $tmp_cnt <= 256 ; $tmp_cnt++) {
+ for($tmp_cnt = 1 ; $tmp_cnt <= 14 ; $tmp_cnt++) {
if(defined $tmp_channel[$tmp_cnt]) {
$tmp_channel[$tmp_cnt] = " <Document>
<name>Channel $tmp_cnt</name>
@@ -1657,7 +1659,7 @@
print OUTHANDLE $tmp_crypt;
print OUTHANDLE $tmp_uncrypt;
}elsif($ORDER == 1) {
- for($tmp_cnt = 0 ; $tmp_cnt <= 256 ; $tmp_cnt++) {
+ for($tmp_cnt = 1 ; $tmp_cnt <= 14 ; $tmp_cnt++) {
if(defined $tmp_channel[$tmp_cnt]) {
print OUTHANDLE $tmp_channel[$tmp_cnt];
}
Powered by
Google Project Hosting