allow no tested target
This commit is contained in:
@@ -12,6 +12,7 @@ Tested on:
|
||||
- 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()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user