agent: Modify exploitation log messages in powershell exploiter
This commit is contained in:
parent
04125e5e14
commit
29788776fa
|
@ -53,13 +53,13 @@ class PowershellExploiter(HostExploiter):
|
|||
usernames=self._config.exploit_user_list
|
||||
)
|
||||
except FailedExploitationError:
|
||||
LOG.info("Failed exploitation using username list.")
|
||||
LOG.info("Failed exploitation using configured usernames only.")
|
||||
try:
|
||||
self.client = self.exploit_with_credentials(
|
||||
self._config.get_exploit_user_password_pairs()
|
||||
)
|
||||
except FailedExploitationError:
|
||||
LOG.info("Failed exploitation using credentials from configuration. Quitting.")
|
||||
LOG.info("Failed exploitation using configured credentials. Quitting.")
|
||||
return False
|
||||
|
||||
arch = self.get_host_arch()
|
||||
|
|
Loading…
Reference in New Issue