GithubHelp home page GithubHelp logo

kismet-kml's Introduction

Kismet KML/JSON Generator

This is a parser that takes *.kismet files generated by the latest version of Kismet and returns a colour coded KML file, and a JSON file in a bespoke format used by my other project, Monza.

usage: kismet-kml.py [-h] [--print] [--inplace] Kismet File

Generates a KML file and a JSON file from the output file of Kismet (2018
Development Version).

positional arguments:
  Kismet File    Path to Kismet file (*.kismet).

optional arguments:
  -h, --help     show this help message and exit
  --print, -p    Print resulting JSON to stdout.
  --inplace, -i  Save output files in same directory as input file. Default is
                 to output to current working directory

To install dependencies, run the following:

$ git clone https://github.com/jnsgruk/kismet-kml
$ cd kismet-kml/
$ pip3 install -r requirements.txt

You're now ready to parse Kismet files like so:

$ python3 kismet-kml.py <path to Kismet file>

kismet-kml's People

Stargazers

 avatar

Watchers

 avatar  avatar

kismet-kml's Issues

kismet-kml do not work with updated kismet

It seems that kismet db format has been changed because the script does not work anymore.
Here is the error message:

Traceback (most recent call last):
  File "kismet-kml.py", line 329, in <module>
    kmlGen = KMLGen(args.filename, args.print, args.inplace)
  File "kismet-kml.py", line 31, in __init__
    self.parseData()
  File "kismet-kml.py", line 71, in parseData
    self.clients = list(map(lambda x: self.parseClient(x), clients))
  File "kismet-kml.py", line 71, in <lambda>
    self.clients = list(map(lambda x: self.parseClient(x), clients))
  File "kismet-kml.py", line 181, in parseClient
    fields.update(self.getProbes(device_json))
  File "kismet-kml.py", line 134, in getProbes
    row_probes = device_json["dot11.device"]["dot11.device.responded_ssid_map"]
KeyError: 'dot11.device.responded_ssid_map'

After a deeper look into your code and some kismet files, it appears that some other keys are not available in the kismet format anymore

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.