From a84b3513e1fdd47025ceaa743ce0f506f162640b Mon Sep 17 00:00:00 2001 From: ValdikSS Date: Fri, 22 Jul 2016 18:29:48 +0300 Subject: [PATCH] Fix Windows 10 support. For some reason some of Windows 10 installations close connection if NetBIOS computer name, domain name and workstation name are not equal. --- packets.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/packets.py b/packets.py index 6ec66d1..a4c3784 100644 --- a/packets.py +++ b/packets.py @@ -1115,19 +1115,19 @@ class SMBSession1Data(Packet): ("NTLMSSPNtWorkstationName","SMB12"), ("NTLMSSPNTLMChallengeAVPairsId","\x02\x00"), ("NTLMSSPNTLMChallengeAVPairsLen","\x0a\x00"), - ("NTLMSSPNTLMChallengeAVPairsUnicodeStr","smb12"), + ("NTLMSSPNTLMChallengeAVPairsUnicodeStr","SMB12"), ("NTLMSSPNTLMChallengeAVPairs1Id","\x01\x00"), ("NTLMSSPNTLMChallengeAVPairs1Len","\x1e\x00"), - ("NTLMSSPNTLMChallengeAVPairs1UnicodeStr","SERVER2008"), + ("NTLMSSPNTLMChallengeAVPairs1UnicodeStr","SMB12"), ("NTLMSSPNTLMChallengeAVPairs2Id","\x04\x00"), ("NTLMSSPNTLMChallengeAVPairs2Len","\x1e\x00"), - ("NTLMSSPNTLMChallengeAVPairs2UnicodeStr","smb12.local"), + ("NTLMSSPNTLMChallengeAVPairs2UnicodeStr","SMB12"), ("NTLMSSPNTLMChallengeAVPairs3Id","\x03\x00"), ("NTLMSSPNTLMChallengeAVPairs3Len","\x1e\x00"), - ("NTLMSSPNTLMChallengeAVPairs3UnicodeStr","SERVER2008.smb12.local"), + ("NTLMSSPNTLMChallengeAVPairs3UnicodeStr","SMB12"), ("NTLMSSPNTLMChallengeAVPairs5Id","\x05\x00"), ("NTLMSSPNTLMChallengeAVPairs5Len","\x04\x00"), - ("NTLMSSPNTLMChallengeAVPairs5UnicodeStr","smb12.local"), + ("NTLMSSPNTLMChallengeAVPairs5UnicodeStr","SMB12"), ("NTLMSSPNTLMChallengeAVPairs6Id","\x00\x00"), ("NTLMSSPNTLMChallengeAVPairs6Len","\x00\x00"), ("NTLMSSPNTLMPadding", ""),