<commit_before>mantis
======

Mantis a partial parser and database management for kismet netxml logs.
It reads the XML-files produced by kismet and spits data into couchdb.
The software is intented for privacy-aware Wifi-mapping efforts.

license: AGPL
```
if you use this code
you and your children’s children
must make your source free
```

The database layout follows the original XML format. The UID view uses the
BSSID and the SSIDs as key ("[ BSSID, [SSIDs]]"). The associated value points
to the source document by id and revision.

references
----------
* [kismet](http://www.kismetwireless.net/) the sniffer<commit_msg>testing info added<commit_after>mantis
======

Mantis a partial parser and database management for kismet netxml logs.
It reads the XML-files produced by kismet and spits data into couchdb.
The software is intented for privacy-aware Wifi-mapping efforts.

license: AGPL
```
if you use this code
you and your children’s children
must make your source free
```

The database layout follows the original XML format. The UID view uses the
BSSID and the SSIDs as key ("[ BSSID, [SSIDs]]"). The associated value points
to the source document by id and revision.

testing
-------
* configure host by running: ```echo '127.0.0.1	testhost' >> /etc/hosts```
* run tests: ```pytest```

references
----------
* [kismet](http://www.kismetwireless.net/) the sniffer
{'fraction_non_alphanumeric': 0.10442349528643945, 'fraction_numerical': 0.00435097897026831, 'mean_word_length': 4.111111111111111, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 2}, 'pii_count': 1, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6551336', 'n_tokens_mistral': 412, 'n_tokens_neox': 396, 'n_words': 185}