forked from p15670423/monkey
Agent: Move PluginType to the i_plugin package
This commit is contained in:
parent
afbc313a7c
commit
973c88678e
|
@ -1,3 +1,4 @@
|
||||||
|
from .plugin_type import PluginType
|
||||||
from .i_puppet import (
|
from .i_puppet import (
|
||||||
IPuppet,
|
IPuppet,
|
||||||
ExploiterResultData,
|
ExploiterResultData,
|
||||||
|
|
|
@ -4,7 +4,7 @@ from collections import namedtuple
|
||||||
from enum import Enum
|
from enum import Enum
|
||||||
from typing import Dict
|
from typing import Dict
|
||||||
|
|
||||||
from infection_monkey.puppet.plugin_type import PluginType
|
from . import PluginType
|
||||||
|
|
||||||
|
|
||||||
class PortStatus(Enum):
|
class PortStatus(Enum):
|
||||||
|
|
|
@ -7,11 +7,11 @@ from infection_monkey.i_puppet import (
|
||||||
FingerprintData,
|
FingerprintData,
|
||||||
IPuppet,
|
IPuppet,
|
||||||
PingScanData,
|
PingScanData,
|
||||||
|
PluginType,
|
||||||
PortScanData,
|
PortScanData,
|
||||||
PortStatus,
|
PortStatus,
|
||||||
PostBreachData,
|
PostBreachData,
|
||||||
)
|
)
|
||||||
from infection_monkey.puppet.plugin_type import PluginType
|
|
||||||
|
|
||||||
DOT_1 = "10.0.0.1"
|
DOT_1 = "10.0.0.1"
|
||||||
DOT_2 = "10.0.0.2"
|
DOT_2 = "10.0.0.2"
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
import logging
|
import logging
|
||||||
from typing import Optional
|
from typing import Optional
|
||||||
|
|
||||||
from infection_monkey.i_puppet import UnknownPluginError
|
from infection_monkey.i_puppet import PluginType, UnknownPluginError
|
||||||
from infection_monkey.puppet.plugin_type import PluginType
|
|
||||||
|
|
||||||
logger = logging.getLogger()
|
logger = logging.getLogger()
|
||||||
|
|
||||||
|
|
|
@ -7,11 +7,11 @@ from infection_monkey.i_puppet import (
|
||||||
FingerprintData,
|
FingerprintData,
|
||||||
IPuppet,
|
IPuppet,
|
||||||
PingScanData,
|
PingScanData,
|
||||||
|
PluginType,
|
||||||
PortScanData,
|
PortScanData,
|
||||||
PostBreachData,
|
PostBreachData,
|
||||||
)
|
)
|
||||||
from infection_monkey.puppet.plugin_registry import PluginRegistry
|
from infection_monkey.puppet.plugin_registry import PluginRegistry
|
||||||
from infection_monkey.puppet.plugin_type import PluginType
|
|
||||||
|
|
||||||
logger = logging.getLogger()
|
logger = logging.getLogger()
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import threading
|
import threading
|
||||||
from unittest.mock import MagicMock
|
from unittest.mock import MagicMock
|
||||||
|
|
||||||
from infection_monkey.puppet.plugin_type import PluginType
|
from infection_monkey.i_puppet import PluginType
|
||||||
from infection_monkey.puppet.puppet import Puppet
|
from infection_monkey.puppet.puppet import Puppet
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue