From bdb7fd4a23d14c254081de8e970d6dcc79603fff Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Tue, 25 Aug 2020 15:02:18 +0300 Subject: [PATCH] Started modifying win_ms08_067.py to avoid defender --- monkey/infection_monkey/exploit/win_ms08_067.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/monkey/infection_monkey/exploit/win_ms08_067.py b/monkey/infection_monkey/exploit/win_ms08_067.py index 023caa41a..57ba3be64 100644 --- a/monkey/infection_monkey/exploit/win_ms08_067.py +++ b/monkey/infection_monkey/exploit/win_ms08_067.py @@ -164,6 +164,8 @@ class Ms08_067_Exploiter(HostExploiter): super(Ms08_067_Exploiter, self).__init__(host) def is_os_supported(self): + if self.host.os['type'] == 'windows': + return True if self.host.os.get('type') in self._TARGET_OS_TYPE and \ self.host.os.get('version') in list(self._windows_versions.keys()): return True