From 60c91c662607c3991cb760c7dd221e81cfb69518 Mon Sep 17 00:00:00 2001 From: lgandx Date: Wed, 12 Oct 2016 00:49:34 -0300 Subject: [PATCH] Fix values for win98 and win10 (requested here: https://github.com/lgandx/Responder/pull/7/commits/d9d34f04cddbd666865089d809eb5b3d46dd9cd4) --- servers/Browser.py | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/servers/Browser.py b/servers/Browser.py index 4aa4549..a7f5aa6 100644 --- a/servers/Browser.py +++ b/servers/Browser.py @@ -20,20 +20,20 @@ from utils import * import struct -def WorkstationFingerPrint(data): - return { - "\x04\x00" :"Windows 95", - "\x04\x10" :"Windows 98", - "\x04\x90" :"Windows ME", - "\x05\x00" :"Windows 2000", - "\x05\x01" :"Windows XP", - "\x05\x02" :"Windows XP(64-Bit)/Windows 2003", - "\x06\x00" :"Windows Vista/Server 2008", - "\x06\x01" :"Windows 7/Server 2008R2", - "\x06\x02" :"Windows 8/Server 2012", - "\x06\x03" :"Windows 8.1/Server 2012R2", - "\x10\x00" :"Windows 10/Server 2016", - }.get(data, 'Unknown') + def WorkstationFingerPrint(data): + return { + "\x04\x00" :"Windows 95", + "\x04\x0A" :"Windows 98", + "\x04\x5A" :"Windows ME", + "\x05\x00" :"Windows 2000", + "\x05\x01" :"Windows XP", + "\x05\x02" :"Windows XP(64-Bit)/Windows 2003", + "\x06\x00" :"Windows Vista/Server 2008", + "\x06\x01" :"Windows 7/Server 2008R2", + "\x06\x02" :"Windows 8/Server 2012", + "\x06\x03" :"Windows 8.1/Server 2012R2", + "\x0A\x00" :"Windows 10/Server 2016", + }.get(data, 'Unknown') def RequestType(data):