agent: Fix typos in powershell remoting exploiter
This commit is contained in:
parent
5419200d61
commit
ba8c44d22c
|
@ -31,7 +31,7 @@ class PowershellExploiter(HostExploiter):
|
|||
_EXPLOITED_SERVICE = "PowerShell Remoting (WinRM)"
|
||||
|
||||
def __init__(self, host: VictimHost):
|
||||
# If pysrp will inherit root logger, it will log extensive and potentially sensitive info
|
||||
# If pypsrp will inherit root logger, it will log extensive and potentially sensitive info
|
||||
logging.getLogger("pypsrp").setLevel(logging.ERROR)
|
||||
logging.getLogger(spnego.__name__).setLevel(logging.ERROR)
|
||||
logging.getLogger(connectionpool.__name__).setLevel(logging.ERROR)
|
||||
|
@ -55,7 +55,7 @@ class PowershellExploiter(HostExploiter):
|
|||
self._config.get_exploit_user_password_pairs()
|
||||
)
|
||||
except FailedExploitationError:
|
||||
LOG.info("Failed exploitation using credentials from configuration. Quiting.")
|
||||
LOG.info("Failed exploitation using credentials from configuration. Quitting.")
|
||||
return False
|
||||
|
||||
arch = self.get_host_arch()
|
||||
|
|
Loading…
Reference in New Issue