diff --git a/monkey/infection_monkey/exploit/powershell_utils/powershell_client.py b/monkey/infection_monkey/exploit/powershell_utils/powershell_client.py index 82c073ff2..80aefee00 100644 --- a/monkey/infection_monkey/exploit/powershell_utils/powershell_client.py +++ b/monkey/infection_monkey/exploit/powershell_utils/powershell_client.py @@ -86,6 +86,7 @@ class PowerShellClient(IPowerShellClient): # Attempt to execute dir command to know if authentication was successful. This will raise # an exception if authentication was not successful. self.execute_cmd("dir") + logger.debug("Successfully authenticated to remote PowerShell service") def execute_cmd(self, cmd: str) -> str: output, _, _ = self._client.execute_cmd(cmd)