瀏覽代碼

AuthenticateMessage: Added comments

Tal Aloni 8 年之前
父節點
當前提交
efc8c683ea
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      SMBLibrary/Authentication/AuthenticateMessage/AuthenticateMessage.cs

+ 2 - 2
SMBLibrary/Authentication/AuthenticateMessage/AuthenticateMessage.cs

@@ -20,8 +20,8 @@ namespace SMBLibrary.Authentication
 
         public string Signature; // 8 bytes
         public MessageTypeName MessageType;
-        public byte[] LmChallengeResponse;
-        public byte[] NtChallengeResponse;
+        public byte[] LmChallengeResponse; // 1 byte for anonymous authentication, 24 bytes for NTLM v1, NTLM v1 Extended Security and NTLM v2.
+        public byte[] NtChallengeResponse; // 0 bytes for anonymous authentication, 24 bytes for NTLM v1 and NTLM v1 Extended Security, >= 48 bytes for NTLM v2.
         public string DomainName;
         public string UserName;
         public string WorkStation;