Started modifying win_ms08_067.py to avoid defender

This commit is contained in:
VakarisZ 2020-08-25 15:02:18 +03:00
parent 634dab37aa
commit bdb7fd4a23
1 changed files with 2 additions and 0 deletions

View File

@ -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