28 lines
607 B
Python
28 lines
607 B
Python
|
|
"""C2Connector abstraction.
|
||
|
|
|
||
|
|
Sprint 0 ships the interface + dataclasses + payload mapping + factory.
|
||
|
|
Concrete `MythicConnector` and `HomeConnector` implementations land after
|
||
|
|
PR1 and PR2 respectively.
|
||
|
|
"""
|
||
|
|
|
||
|
|
from mimic.connectors.base import (
|
||
|
|
C2Connector,
|
||
|
|
Payload,
|
||
|
|
TaskHandle,
|
||
|
|
TaskResult,
|
||
|
|
TaskStatus,
|
||
|
|
UnsupportedPayloadType,
|
||
|
|
)
|
||
|
|
from mimic.connectors.factory import ConnectorFactory, register_connector
|
||
|
|
|
||
|
|
__all__ = [
|
||
|
|
"C2Connector",
|
||
|
|
"ConnectorFactory",
|
||
|
|
"Payload",
|
||
|
|
"TaskHandle",
|
||
|
|
"TaskResult",
|
||
|
|
"TaskStatus",
|
||
|
|
"UnsupportedPayloadType",
|
||
|
|
"register_connector",
|
||
|
|
]
|