forked from p34709852/monkey
Agent: Add error message to exploit_result when SMB exploiter gives up
This commit is contained in:
parent
9ca8bc1a60
commit
7e4ec00454
|
@ -77,6 +77,7 @@ class SMBExploiter(HostExploiter):
|
||||||
|
|
||||||
if not self.exploit_result.exploitation_success:
|
if not self.exploit_result.exploitation_success:
|
||||||
logger.debug("Exploiter SmbExec is giving up...")
|
logger.debug("Exploiter SmbExec is giving up...")
|
||||||
|
self.exploit_result.error_message = "Failed to authenticate to the victim over SMB"
|
||||||
return self.exploit_result
|
return self.exploit_result
|
||||||
|
|
||||||
# execute the remote dropper in case the path isn't final
|
# execute the remote dropper in case the path isn't final
|
||||||
|
|
Loading…
Reference in New Issue