forked from p15670423/monkey
Island: Fix imports common.events -> common.agent_events
This commit is contained in:
parent
c8d11cdfe7
commit
d93eb4565b
|
@ -1,6 +1,6 @@
|
|||
import logging
|
||||
|
||||
from common.events import AbstractAgentEvent
|
||||
from common.agent_events import AbstractAgentEvent
|
||||
from monkey_island.cc.repository import IAgentEventRepository, StorageError
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
import logging
|
||||
|
||||
from common.events import CredentialsStolenEvent
|
||||
from common.agent_events import CredentialsStolenEvent
|
||||
from monkey_island.cc.repository import ICredentialsRepository, StorageError
|
||||
|
||||
logger = logging.getLogger(__name__)
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
from abc import ABC, abstractmethod
|
||||
from typing import Sequence, Type, TypeVar
|
||||
|
||||
from common.events import AbstractAgentEvent
|
||||
from common.agent_events import AbstractAgentEvent
|
||||
from common.types import AgentID
|
||||
|
||||
T = TypeVar("T", bound=AbstractAgentEvent)
|
||||
|
|
|
@ -3,7 +3,7 @@ from typing import Any, Dict, MutableMapping, Sequence, Type
|
|||
from pymongo import MongoClient
|
||||
|
||||
from common.agent_event_serializers import EVENT_TYPE_FIELD, AgentEventSerializerRegistry
|
||||
from common.events import AbstractAgentEvent
|
||||
from common.agent_events import AbstractAgentEvent
|
||||
from common.types import AgentID
|
||||
from monkey_island.cc.repository import IAgentEventRepository
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from typing import Sequence, Type, TypeVar
|
||||
|
||||
from common.events import AbstractAgentEvent
|
||||
from common.agent_events import AbstractAgentEvent
|
||||
from common.types import AgentID
|
||||
|
||||
from . import IAgentEventRepository
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
from common import DIContainer
|
||||
from common.agent_events import CredentialsStolenEvent
|
||||
from common.event_queue import IAgentEventQueue
|
||||
from common.events import CredentialsStolenEvent
|
||||
from monkey_island.cc.agent_event_handlers import (
|
||||
save_event_to_event_repository,
|
||||
save_stolen_credentials_to_repository,
|
||||
|
|
Loading…
Reference in New Issue