From af9d4ac49ad8f65c739358d78b38a7e072d67156 Mon Sep 17 00:00:00 2001 From: Kekoa Kaaikala Date: Wed, 10 Aug 2022 18:34:52 +0000 Subject: [PATCH] Agent: Remove call to urllib3.disable_warnings() --- monkey/infection_monkey/control.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/monkey/infection_monkey/control.py b/monkey/infection_monkey/control.py index 770d03355..430b294bc 100644 --- a/monkey/infection_monkey/control.py +++ b/monkey/infection_monkey/control.py @@ -16,8 +16,6 @@ from infection_monkey.transport.tcp import TcpProxy from infection_monkey.utils import agent_process from infection_monkey.utils.environment import is_windows_os -requests.packages.urllib3.disable_warnings() # type: ignore - logger = logging.getLogger(__name__) PBA_FILE_DOWNLOAD = "https://%s/api/pba/download/%s"