Add Windows 8 / Server 2012 support to sysinfo
parent
572fb4cb0c
commit
c5e9e5d374
|
@ -377,6 +377,13 @@ DWORD request_sys_config_sysinfo(Remote *remote, Packet *packet)
|
||||||
else
|
else
|
||||||
osName = "Windows 2008 R2";
|
osName = "Windows 2008 R2";
|
||||||
}
|
}
|
||||||
|
else if (v.dwMajorVersion == 6 && v.dwMinorVersion == 2)
|
||||||
|
{
|
||||||
|
if (v.wProductType == VER_NT_WORKSTATION)
|
||||||
|
osName = "Windows 8";
|
||||||
|
else
|
||||||
|
osName = "Windows 2012";
|
||||||
|
}
|
||||||
|
|
||||||
if (!osName)
|
if (!osName)
|
||||||
osName = "Unknown";
|
osName = "Unknown";
|
||||||
|
|
Loading…
Reference in New Issue