Agent: Remove input() call in monkey.py

The call to input() was used to pause the execution of the agent while
testing the new signal handlers. It is no longer needed.
This commit is contained in:
Mike Salvatore 2021-11-23 13:28:01 -05:00 committed by VakarisZ
parent 6149ef630b
commit 73329e9729
1 changed files with 1 additions and 1 deletions

View File

@ -115,7 +115,7 @@ class InfectionMonkey(object):
logger.debug("Starting the setup phase.") logger.debug("Starting the setup phase.")
mock_master = MockMaster(MockPuppet(), LegacyTelemetryMessengerAdapter()) mock_master = MockMaster(MockPuppet(), LegacyTelemetryMessengerAdapter())
register_signal_handlers(mock_master) register_signal_handlers(mock_master)
input()
# Sets island's IP and port for monkey to communicate to # Sets island's IP and port for monkey to communicate to
self.set_default_server() self.set_default_server()
self.set_default_port() self.set_default_port()