diff --git a/monkey/infection_monkey/exploit/hadoop.py b/monkey/infection_monkey/exploit/hadoop.py index 7d3360a32..f221ebe1f 100644 --- a/monkey/infection_monkey/exploit/hadoop.py +++ b/monkey/infection_monkey/exploit/hadoop.py @@ -5,7 +5,6 @@ """ import json -import logging import posixpath import string from random import SystemRandom @@ -24,8 +23,6 @@ from infection_monkey.model import ( ) from infection_monkey.utils.commands import build_monkey_commandline -logger = logging.getLogger(__name__) - class HadoopExploiter(WebRCE): _TARGET_OS_TYPE = ["linux", "windows"] diff --git a/monkey/infection_monkey/exploit/tools/payload_parsing.py b/monkey/infection_monkey/exploit/tools/payload_parsing.py index da5913412..ef2e11426 100644 --- a/monkey/infection_monkey/exploit/tools/payload_parsing.py +++ b/monkey/infection_monkey/exploit/tools/payload_parsing.py @@ -1,8 +1,5 @@ -import logging import textwrap -logger = logging.getLogger(__name__) - class Payload(object): """ diff --git a/monkey/infection_monkey/system_info/windows_cred_collector/mimikatz_cred_collector.py b/monkey/infection_monkey/system_info/windows_cred_collector/mimikatz_cred_collector.py index ee42de90a..6a4ef7799 100644 --- a/monkey/infection_monkey/system_info/windows_cred_collector/mimikatz_cred_collector.py +++ b/monkey/infection_monkey/system_info/windows_cred_collector/mimikatz_cred_collector.py @@ -1,4 +1,3 @@ -import logging from typing import List from infection_monkey.system_info.windows_cred_collector import pypykatz_handler @@ -6,8 +5,6 @@ from infection_monkey.system_info.windows_cred_collector.windows_credentials imp WindowsCredentials, ) -logger = logging.getLogger(__name__) - class MimikatzCredentialCollector(object): @staticmethod