mirror of
https://github.com/rapid7/metasploit-payloads
synced 2025-03-24 18:16:24 +01:00
Windows 2016 is released
This commit is contained in:
parent
261b3b4ceb
commit
8e4af5500a
c/meterpreter/source/extensions/stdapi/server/sys/config
python/meterpreter
@ -548,7 +548,7 @@ DWORD add_windows_os_version(Packet** packet)
|
||||
{
|
||||
if (v.dwMinorVersion == 0)
|
||||
{
|
||||
osName = v.wProductType == VER_NT_WORKSTATION ? "Windows 10" : "Windows 2016 Tech Preview";
|
||||
osName = v.wProductType == VER_NT_WORKSTATION ? "Windows 10" : "Windows 2016";
|
||||
}
|
||||
}
|
||||
|
||||
@ -902,4 +902,4 @@ DWORD request_sys_config_driver_list(Remote *remote, Packet *packet)
|
||||
packet_transmit_response(result, remote, response);
|
||||
|
||||
return ERROR_SUCCESS;
|
||||
}
|
||||
}
|
||||
|
@ -656,7 +656,7 @@ def get_windll_os_name():
|
||||
os_name = ('8.1' if is_workstation else '2012 R2')
|
||||
elif os_info.dwMajorVersion == 10:
|
||||
if os_info.dwMinorVersion == 0:
|
||||
os_name = ('10' if is_workstation else '2016 Tech Preview')
|
||||
os_name = ('10' if is_workstation else '2016')
|
||||
|
||||
if not os_name:
|
||||
os_name = 'Unknown'
|
||||
|
Loading…
x
Reference in New Issue
Block a user