forked from p15670423/monkey
Agent: Improve logging around SCM connection attempts
This commit is contained in:
parent
75dd26b3df
commit
9532aba033
|
@ -103,13 +103,11 @@ class SMBExploiter(HostExploiter):
|
|||
scmr_rpc.connect()
|
||||
except Exception as exc:
|
||||
logger.debug(
|
||||
"Can't connect to SCM on exploited machine %r port %s : %s",
|
||||
self.host,
|
||||
port,
|
||||
exc,
|
||||
f"Can't connect to SCM on exploited machine {self.host}, port {port} : {exc}"
|
||||
)
|
||||
continue
|
||||
|
||||
logger.debug(f"Connected to SCM on exploited machine {self.host}, port {port}")
|
||||
smb_conn = rpctransport.get_smb_connection()
|
||||
break
|
||||
|
||||
|
|
Loading…
Reference in New Issue