Island: Add IPAddresses to cc/resources/__init__.py and shorten imports

This commit is contained in:
Shreya Malviya 2022-08-04 13:06:08 +05:30
parent 4ee1450001
commit 144268187f
2 changed files with 2 additions and 1 deletions

View File

@ -13,6 +13,7 @@ from monkey_island.cc.database import database, mongo
from monkey_island.cc.resources import ( from monkey_island.cc.resources import (
AgentBinaries, AgentBinaries,
ClearSimulationData, ClearSimulationData,
IPAddresses,
IslandLog, IslandLog,
PropagationCredentials, PropagationCredentials,
RemoteRun, RemoteRun,
@ -33,7 +34,6 @@ from monkey_island.cc.resources.blackbox.telemetry_blackbox_endpoint import (
from monkey_island.cc.resources.edge import Edge from monkey_island.cc.resources.edge import Edge
from monkey_island.cc.resources.exploitations.manual_exploitation import ManualExploitation from monkey_island.cc.resources.exploitations.manual_exploitation import ManualExploitation
from monkey_island.cc.resources.exploitations.monkey_exploitation import MonkeyExploitation from monkey_island.cc.resources.exploitations.monkey_exploitation import MonkeyExploitation
from monkey_island.cc.resources.ip_addresses import IPAddresses
from monkey_island.cc.resources.island_mode import IslandMode from monkey_island.cc.resources.island_mode import IslandMode
from monkey_island.cc.resources.local_run import LocalRun from monkey_island.cc.resources.local_run import LocalRun
from monkey_island.cc.resources.log import Log from monkey_island.cc.resources.log import Log

View File

@ -4,3 +4,4 @@ from .clear_simulation_data import ClearSimulationData
from .island_log import IslandLog from .island_log import IslandLog
from .reset_agent_configuration import ResetAgentConfiguration from .reset_agent_configuration import ResetAgentConfiguration
from .propagation_credentials import PropagationCredentials from .propagation_credentials import PropagationCredentials
from .ip_addresses import IPAddresses