Files

28 lines
926 B
Python

"""Framework-independent analysis core for IoT PreTester 4.6 Demo.
Usable from Django and the CLI; tshark is only invoked when a capture is read.
See README.md for examples.
"""
from __future__ import annotations
from .findings import Finding, Category, Severity, Confidence
from .context import CaptureContext
from .engine import AnalysisEngine, AnalysisResult, result_from_dict
from .reporting import render, FORMATS
from .artifacts import (
UrlArtifact, HashArtifact, extract_urls, extract_hashes, identify_hash_mode,
)
# Importing the package registers every detector.
from . import detectors # noqa: F401
__version__ = "4.6.2-demo.0"
__all__ = [
"Finding", "Category", "Severity", "Confidence",
"CaptureContext", "AnalysisEngine", "AnalysisResult", "result_from_dict",
"render", "FORMATS", "__version__",
"UrlArtifact", "HashArtifact", "extract_urls", "extract_hashes", "identify_hash_mode",
]