|
@@ -5,45 +5,43 @@ namespace SMBLibrary.Authentication
|
|
|
[Flags]
|
|
|
public enum NegotiateFlags : uint
|
|
|
{
|
|
|
- NegotiateUnicode = 0x01,
|
|
|
- NegotiateOEM = 0x02,
|
|
|
- RequestTarget = 0x04,
|
|
|
- NegotiateSign = 0x10,
|
|
|
- NegotiateSeal = 0x20,
|
|
|
- NegotiateDatagram = 0x40,
|
|
|
+ UnicodeEncoding = 0x00000001,
|
|
|
+ OEMEncoding = 0x00000002,
|
|
|
+ TargetNameSupplied = 0x00000004,
|
|
|
+ Sign = 0x00000010,
|
|
|
+ Seal = 0x00000020,
|
|
|
+ Datagram = 0x00000040,
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
|
|
|
- NegotiateLanManagerKey = 0x80,
|
|
|
- NegotiateNTLMKey = 0x200,
|
|
|
-
|
|
|
+ LanManagerKey = 0x00000080,
|
|
|
+ NTLMKey = 0x00000200,
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- NegotiateAnonymous = 0x800,
|
|
|
+ Anonymous = 0x00000800,
|
|
|
|
|
|
- NegotiateOEMDomainSupplied = 0x1000,
|
|
|
- NegotiateOEMWorkstationSupplied = 0x2000,
|
|
|
- NegotiateAlwaysSign = 0x8000,
|
|
|
- NegotiateTargetTypeDomain = 0x10000,
|
|
|
- NegotiateTargetTypeServer = 0x20000,
|
|
|
- NegotiateTargetTypeShare = 0x40000,
|
|
|
+ DomainNameSupplied = 0x00001000,
|
|
|
+ WorkstationNameSupplied = 0x00002000,
|
|
|
+ AlwaysSign = 0x00008000,
|
|
|
+ TargetTypeDomain = 0x00010000,
|
|
|
+ TargetTypeServer = 0x00020000,
|
|
|
|
|
|
|
|
|
-
|
|
|
-
|
|
|
+
|
|
|
+
|
|
|
|
|
|
|
|
|
- NegotiateExtendedSecurity = 0x80000,
|
|
|
- NegotiateIdentify = 0x100000,
|
|
|
- RequestNonNTSession = 0x400000,
|
|
|
- NegotiateTargetInfo = 0x800000,
|
|
|
- NegotiateVersion = 0x2000000,
|
|
|
- Negotiate128 = 0x20000000,
|
|
|
- NegotiateKeyExchange = 0x40000000,
|
|
|
- Negotiate56 = 0x80000000,
|
|
|
+ ExtendedSecurity = 0x00080000,
|
|
|
+ Identify = 0x00100000,
|
|
|
+ RequestLMSessionKey = 0x00400000,
|
|
|
+ TargetInfo = 0x00800000,
|
|
|
+ Version = 0x02000000,
|
|
|
+ Use128BitEncryption = 0x20000000,
|
|
|
+ KeyExchange = 0x40000000,
|
|
|
+ Use56BitEncryption = 0x80000000,
|
|
|
}
|
|
|
}
|