Zoo: Add timeout to zerologon bb test

* Fix log message in smb tools
This commit is contained in:
Ilija Lazoroski 2022-04-22 11:00:32 +02:00 committed by Mike Salvatore
parent b9efc2d552
commit 30e27b4e9a
2 changed files with 2 additions and 2 deletions

View File

@ -151,7 +151,7 @@ class TestMonkeyBlackbox:
island_client=island_client, island_client=island_client,
raw_config=raw_config, raw_config=raw_config,
analyzers=[zero_logon_analyzer, communication_analyzer], analyzers=[zero_logon_analyzer, communication_analyzer],
timeout=DEFAULT_TIMEOUT_SECONDS, timeout=DEFAULT_TIMEOUT_SECONDS + 30,
log_handler=log_handler, log_handler=log_handler,
).run() ).run()

View File

@ -137,7 +137,7 @@ class SmbTools(object):
share_name, share_name,
share_path, share_path,
remote_path, remote_path,
host.ip_addr[0], host,
) )
remote_full_path = ntpath.join(share_path, remote_path.strip(ntpath.sep)) remote_full_path = ntpath.join(share_path, remote_path.strip(ntpath.sep))