forked from p15670423/monkey
Agent: Rename send_all_events_to_island -> SendAllAgentEventsToIsland
This commit is contained in:
parent
5152b9a3cc
commit
1ad13db758
|
@ -67,7 +67,7 @@ from infection_monkey.post_breach.actions.use_signed_scripts import SignedScript
|
||||||
from infection_monkey.post_breach.actions.use_trap_command import TrapCommand
|
from infection_monkey.post_breach.actions.use_trap_command import TrapCommand
|
||||||
from infection_monkey.post_breach.custom_pba import CustomPBA
|
from infection_monkey.post_breach.custom_pba import CustomPBA
|
||||||
from infection_monkey.puppet.puppet import Puppet
|
from infection_monkey.puppet.puppet import Puppet
|
||||||
from infection_monkey.send_all_events_to_island import send_all_events_to_island
|
from infection_monkey.SendAllAgentEventsToIsland import SendAllAgentEventsToIsland
|
||||||
from infection_monkey.system_singleton import SystemSingleton
|
from infection_monkey.system_singleton import SystemSingleton
|
||||||
from infection_monkey.telemetry.attack.t1106_telem import T1106Telem
|
from infection_monkey.telemetry.attack.t1106_telem import T1106Telem
|
||||||
from infection_monkey.telemetry.attack.t1107_telem import T1107Telem
|
from infection_monkey.telemetry.attack.t1107_telem import T1107Telem
|
||||||
|
@ -254,7 +254,7 @@ class InfectionMonkey:
|
||||||
propagation_credentials_repository
|
propagation_credentials_repository
|
||||||
),
|
),
|
||||||
)
|
)
|
||||||
event_queue.subscribe_all_events(send_all_events_to_island(server_address))
|
event_queue.subscribe_all_events(SendAllAgentEventsToIsland(server_address))
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def _get_local_network_interfaces() -> List[IPv4Interface]:
|
def _get_local_network_interfaces() -> List[IPv4Interface]:
|
||||||
|
|
|
@ -15,7 +15,7 @@ DEFAULT_TIME_PERIOD_SECONDS = 5
|
||||||
EVENTS_API_URL = "https://%s/api/events"
|
EVENTS_API_URL = "https://%s/api/events"
|
||||||
|
|
||||||
|
|
||||||
class send_all_events_to_island:
|
class SendAllAgentEventsToIsland:
|
||||||
"""
|
"""
|
||||||
Sends information about the events carried out by the Agent to the Island in batches
|
Sends information about the events carried out by the Agent to the Island in batches
|
||||||
"""
|
"""
|
||||||
|
|
Loading…
Reference in New Issue