From 0a6ced443c0a39b49d17dea8b123b3c55ec8dd6c Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Wed, 9 Mar 2022 10:00:20 -0500 Subject: [PATCH] Agent: Reduce smb_download_timeout to 30 seconds --- monkey/infection_monkey/config.py | 2 +- monkey/monkey_island/cc/services/config_schema/internal.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/monkey/infection_monkey/config.py b/monkey/infection_monkey/config.py index 22df97ca4..63c8c5c3b 100644 --- a/monkey/infection_monkey/config.py +++ b/monkey/infection_monkey/config.py @@ -175,7 +175,7 @@ class Configuration(object): aws_session_token = "" # smb/wmi exploiter - smb_download_timeout = 300 # timeout in seconds + smb_download_timeout = 30 # timeout in seconds smb_service_name = "InfectionMonkey" ########################### diff --git a/monkey/monkey_island/cc/services/config_schema/internal.py b/monkey/monkey_island/cc/services/config_schema/internal.py index d25856b39..45b76dd23 100644 --- a/monkey/monkey_island/cc/services/config_schema/internal.py +++ b/monkey/monkey_island/cc/services/config_schema/internal.py @@ -252,7 +252,7 @@ INTERNAL = { "smb_download_timeout": { "title": "SMB download timeout", "type": "integer", - "default": 300, + "default": 30, "description": "Timeout (in seconds) for SMB download operation (used in " "various exploits using SMB)", },