Library for parsing kismet results from the .kismet database file.
Project description
This library can be used to analyze the results of the new Kismet version. To filter encryption types Kismet version "f07735c" (Aug 19, 2018) or later is required.
The following scripts will be installed:
- kismet_analyzer_aplist: This script can be used to extract access points from the SQLite database .kismet and export these results to csv and kml.
- kismet_analyzer_clientlist This script can be used to create a list of connected clients for a given SSID. The list is printed to stdout with one client mac per row.
- kismet_analyzer_devices This script can be used to extract a list of discovered devices. The result can be exported to csv and kml.
License
This script is licensed under the GNU General Public License in version 3. See http://www.gnu.org/licenses/ for further details.
Installation:
Installation via pip
pip install kismet-analyzer
Manual installation from this repository
This library requires simplekml for exporting extracted information to kml. You can use pip to install the neccessary requirement.
pip install -r requirements.txt
The setup script can be used to install the library and requirements. It will create the above listed console commands.
python setup.py install
Usage:
(venv)[kismet-analyzer]$ kismet_analyzer_aplist -h
usage: kismet_analyzer_aplist [-h] --in INFILE [--out OUTFILE] [--title TITLE]
[--ssid SSID] [--exclude-ssid EXCLUDESSID]
[--strongest-point] [--encryption ENCRYPTION]
[--csv] [--kml] [--verbose]
Kismet to KML Log Converter
optional arguments:
-h, --help Show this help message and exit
--in INFILE Input file (.kismet)
--out OUTFILE Output filename (optional)
--title TITLE Title embedded in KML file
--ssid SSID Only plot networks which match the SSID (or SSID
regex)
--exclude-ssid EXCLUDESSID
Exclude networks which match the SSID (or SSID
regex)
--strongest-point Plot points based on strongest signal
--encryption ENCRYPTION
Show only networks with given encryption type
--csv Export results to csv
--kml Export results to kml
--verbose Print MAC, SSID, encryption type to stdout
Export only access points with encryption type "Open" to csv and kml files:
kismet_analyzer_aplist --in input.kismet --out test --encryption "Open" --kml --csv
Exported 11 devices to test.csv
Exported 11 devices to test.kml
Output example for kml exports
The script generates colored notes for exported access points. The color depends on the identified encryption type. WPA encrypted access points will be added with a green color, WEP encrypted networks will be displayed in orange and Open network are displayed in red. Networks were the encryption type could not be detected will be added as a yellow note. Each note contains detailed meta information about the access point (SSID, MAC address, frequency, channel, manufacturer, and a list of clients MAC addresses).
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
File details
Details for the file kismet-analyzer-0.4.1.tar.gz
.
File metadata
- Download URL: kismet-analyzer-0.4.1.tar.gz
- Upload date:
- Size: 8.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a02936b91a925d593edafa3d074f9b8934f98fc42115801b75046b576c2d877 |
|
MD5 | 2eef87729cbd89911027f9d2e950414a |
|
BLAKE2b-256 | 2b5b9109ba121751ea0022150dbc588182b93839e35eb2907f42fb3c49ce81e6 |
File details
Details for the file kismet_analyzer-0.4.1-py3.10.egg
.
File metadata
- Download URL: kismet_analyzer-0.4.1-py3.10.egg
- Upload date:
- Size: 23.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2613da1bf0b61491461ffe5cd92293a7140a930c03d9eb968be02da0b5a107b9 |
|
MD5 | a5d28d8dc95087e8ad832eed0db66fd9 |
|
BLAKE2b-256 | 134304faa3aa73fb8c14bbe223d7e3676edb97646716fd2a81a7523b424b6912 |
File details
Details for the file kismet_analyzer-0.4.1-py3-none-any.whl
.
File metadata
- Download URL: kismet_analyzer-0.4.1-py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.26.0 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.62.3 importlib-metadata/4.8.1 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4e9bea64f00699ba10aa2444225b76e5f6cb57e5cff0477541a5769c448d3a30 |
|
MD5 | 06988ecadb46960476b6f0e70521a2f2 |
|
BLAKE2b-256 | cdcdde0c48dfb422fd4ac7de5b242b0e8db6937eff5a1bc129159b2b2a13f24d |