mqtt_pwn.parsers package

Submodules

mqtt_pwn.parsers.passive_parser module

class mqtt_pwn.parsers.passive_parser.Definition(definition_obj)[source]

Bases: object

A class that represents a match definition for labeling

match(candidate)[source]

Matches the class pattern to a candidate

class mqtt_pwn.parsers.passive_parser.PassiveParser(definitions_path='definitions.json', scan_instance=None)[source]

Bases: object

Passive Parser that uses a definition file to label topics

load_definitions()[source]

Loads the definitions from file

parse()[source]

Parses the topics from database and match their definitions

static start(scan_instance)[source]

Starts a scan

static start_async(scan_instance)[source]

Starts a scan asynchronously

Module contents