mirror of
https://github.com/rapid7/metasploit-payloads
synced 2025-03-18 15:14:10 +01:00
Land #22 : Add initial windows 10 matching to sysinfo
This commit is contained in:
commit
ee0527f364
@ -530,6 +530,16 @@ DWORD request_sys_config_sysinfo(Remote *remote, Packet *packet)
|
|||||||
osName = "Windows 2012 R2";
|
osName = "Windows 2012 R2";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
else if (v.dwMajorVersion == 10)
|
||||||
|
{
|
||||||
|
if (v.dwMinorVersion == 0)
|
||||||
|
{
|
||||||
|
if (v.wProductType == VER_NT_WORKSTATION)
|
||||||
|
osName = "Windows 10";
|
||||||
|
else
|
||||||
|
osName = "Windows Server Technical Preview";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (!osName)
|
if (!osName)
|
||||||
osName = "Unknown";
|
osName = "Unknown";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user