From af9736a8ead2429deafd2238bcbf72e793f42106 Mon Sep 17 00:00:00 2001 From: vakarisz Date: Tue, 8 Mar 2022 11:31:01 +0200 Subject: [PATCH] Agent: added a todo to assess smb connection timeout --- monkey/infection_monkey/exploit/tools/smb_tools.py | 1 + 1 file changed, 1 insertion(+) diff --git a/monkey/infection_monkey/exploit/tools/smb_tools.py b/monkey/infection_monkey/exploit/tools/smb_tools.py index 84e1b7e8b..9dd35b02f 100644 --- a/monkey/infection_monkey/exploit/tools/smb_tools.py +++ b/monkey/infection_monkey/exploit/tools/smb_tools.py @@ -19,6 +19,7 @@ class SmbTools(object): def copy_file( host, src_path, dst_path, username, password, lm_hash="", ntlm_hash="", timeout=60 ): + # TODO assess the 60 second timeout # monkeyfs has been removed. Fix this in issue #1741 # assert monkeyfs.isfile(src_path), "Source file to copy (%s) is missing" % (src_path,)