From abb05730b8ca42bc4a21fbbbc3d384d18bb4af85 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Fri, 18 Mar 2022 12:10:00 -0400 Subject: [PATCH] Agent: Remove unnecessary __init__() from SMBExploiter --- monkey/infection_monkey/exploit/smbexec.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/monkey/infection_monkey/exploit/smbexec.py b/monkey/infection_monkey/exploit/smbexec.py index 28671167d..7374bfb43 100644 --- a/monkey/infection_monkey/exploit/smbexec.py +++ b/monkey/infection_monkey/exploit/smbexec.py @@ -24,9 +24,6 @@ class SMBExploiter(HostExploiter): USE_KERBEROS = False SMB_SERVICE_NAME = "InfectionMonkey" - def __init__(self, host): - super(SMBExploiter, self).__init__(host) - def _exploit_host(self): agent_binary = self.agent_repository.get_agent_binary(self.host.os["type"]) dest_path = get_agent_dest_path(self.host, self.options)