mirror of
https://github.com/TalAloni/SMBLibrary.git
synced 2025-08-05 23:34:56 +02:00
Moved NTLM code to Authentication\NTLM
This commit is contained in:
parent
6c5600d4fd
commit
dbca07e803
20 changed files with 30 additions and 26 deletions
|
@ -9,7 +9,7 @@ using System.Collections.Generic;
|
|||
using System.Text;
|
||||
using Utilities;
|
||||
|
||||
namespace SMBLibrary.Authentication
|
||||
namespace SMBLibrary.Authentication.NTLM
|
||||
{
|
||||
public class AVPairUtils
|
||||
{
|
|
@ -9,7 +9,7 @@ using System.Collections.Generic;
|
|||
using System.Text;
|
||||
using Utilities;
|
||||
|
||||
namespace SMBLibrary.Authentication
|
||||
namespace SMBLibrary.Authentication.NTLM
|
||||
{
|
||||
public class AuthenticationMessageUtils
|
||||
{
|
|
@ -12,7 +12,7 @@ using System.Security.Cryptography;
|
|||
using System.Text;
|
||||
using Utilities;
|
||||
|
||||
namespace SMBLibrary.Authentication
|
||||
namespace SMBLibrary.Authentication.NTLM
|
||||
{
|
||||
public class NTLMCryptography
|
||||
{
|
|
@ -9,7 +9,7 @@ using System.Collections.Generic;
|
|||
using System.Text;
|
||||
using Utilities;
|
||||
|
||||
namespace SMBLibrary.Authentication
|
||||
namespace SMBLibrary.Authentication.NTLM
|
||||
{
|
||||
/// <summary>
|
||||
/// [MS-NLMP] AUTHENTICATE_MESSAGE (Type 3 Message)
|
|
@ -9,7 +9,7 @@ using System.Collections.Generic;
|
|||
using System.Text;
|
||||
using Utilities;
|
||||
|
||||
namespace SMBLibrary.Authentication
|
||||
namespace SMBLibrary.Authentication.NTLM
|
||||
{
|
||||
/// <summary>
|
||||
/// [MS-NLMP] CHALLENGE_MESSAGE (Type 2 Message)
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
namespace SMBLibrary.Authentication
|
||||
namespace SMBLibrary.Authentication.NTLM
|
||||
{
|
||||
public enum AVPairKey : ushort
|
||||
{
|
|
@ -1,5 +1,5 @@
|
|||
|
||||
namespace SMBLibrary.Authentication
|
||||
namespace SMBLibrary.Authentication.NTLM
|
||||
{
|
||||
public enum MessageTypeName : uint
|
||||
{
|
|
@ -1,6 +1,6 @@
|
|||
using System;
|
||||
|
||||
namespace SMBLibrary.Authentication
|
||||
namespace SMBLibrary.Authentication.NTLM
|
||||
{
|
||||
[Flags]
|
||||
public enum NegotiateFlags : uint
|
|
@ -9,7 +9,7 @@ using System.Collections.Generic;
|
|||
using System.Text;
|
||||
using Utilities;
|
||||
|
||||
namespace SMBLibrary.Authentication
|
||||
namespace SMBLibrary.Authentication.NTLM
|
||||
{
|
||||
/// <summary>
|
||||
/// [MS-NLMP] 2.2.2.10 - VERSION
|
|
@ -9,7 +9,7 @@ using System.Collections.Generic;
|
|||
using System.Text;
|
||||
using Utilities;
|
||||
|
||||
namespace SMBLibrary.Authentication
|
||||
namespace SMBLibrary.Authentication.NTLM
|
||||
{
|
||||
/// <summary>
|
||||
/// NTLMv2_CLIENT_CHALLENGE
|
|
@ -9,7 +9,7 @@ using System.Collections.Generic;
|
|||
using System.Text;
|
||||
using Utilities;
|
||||
|
||||
namespace SMBLibrary.Authentication
|
||||
namespace SMBLibrary.Authentication.NTLM
|
||||
{
|
||||
/// <summary>
|
||||
/// [MS-NLMP] NEGOTIATE_MESSAGE (Type 1 Message)
|
|
@ -31,23 +31,23 @@
|
|||
<Reference Include="System" />
|
||||
</ItemGroup>
|
||||
<ItemGroup>
|
||||
<Compile Include="Authentication\AuthenticateMessage\AuthenticateMessage.cs" />
|
||||
<Compile Include="Authentication\AuthenticateMessage\AuthenticationMessageUtils.cs" />
|
||||
<Compile Include="Authentication\AuthenticateMessage\AVPairUtils.cs" />
|
||||
<Compile Include="Authentication\AuthenticateMessage\ChallengeMessage.cs" />
|
||||
<Compile Include="Authentication\AuthenticateMessage\Enums\AVPairKey.cs" />
|
||||
<Compile Include="Authentication\AuthenticateMessage\Enums\MessageTypeName.cs" />
|
||||
<Compile Include="Authentication\AuthenticateMessage\Enums\NegotiateFlags.cs" />
|
||||
<Compile Include="Authentication\AuthenticateMessage\NegotiateMessage.cs" />
|
||||
<Compile Include="Authentication\AuthenticateMessage\NTLMv2ClientChallenge.cs" />
|
||||
<Compile Include="Authentication\AuthenticateMessage\NTLMVersion.cs" />
|
||||
<Compile Include="Authentication\GSSAPI\DerEncodingHelper.cs" />
|
||||
<Compile Include="Authentication\GSSAPI\GSSAPIHelper.cs" />
|
||||
<Compile Include="Authentication\GSSAPI\SimpleProtectedNegotiationToken.cs" />
|
||||
<Compile Include="Authentication\GSSAPI\SimpleProtectedNegotiationTokenInit.cs" />
|
||||
<Compile Include="Authentication\GSSAPI\SimpleProtectedNegotiationTokenResponse.cs" />
|
||||
<Compile Include="Authentication\MD4.cs" />
|
||||
<Compile Include="Authentication\NTLMCryptography.cs" />
|
||||
<Compile Include="Authentication\NTLM\Helpers\AuthenticationMessageUtils.cs" />
|
||||
<Compile Include="Authentication\NTLM\Helpers\AVPairUtils.cs" />
|
||||
<Compile Include="Authentication\NTLM\Helpers\MD4.cs" />
|
||||
<Compile Include="Authentication\NTLM\Helpers\NTLMCryptography.cs" />
|
||||
<Compile Include="Authentication\NTLM\Structures\AuthenticateMessage.cs" />
|
||||
<Compile Include="Authentication\NTLM\Structures\ChallengeMessage.cs" />
|
||||
<Compile Include="Authentication\NTLM\Structures\Enums\AVPairKey.cs" />
|
||||
<Compile Include="Authentication\NTLM\Structures\Enums\MessageTypeName.cs" />
|
||||
<Compile Include="Authentication\NTLM\Structures\Enums\NegotiateFlags.cs" />
|
||||
<Compile Include="Authentication\NTLM\Structures\NegotiateMessage.cs" />
|
||||
<Compile Include="Authentication\NTLM\Structures\NTLMv2ClientChallenge.cs" />
|
||||
<Compile Include="Authentication\NTLM\Structures\NTLMVersion.cs" />
|
||||
<Compile Include="Client\SMBClient.cs" />
|
||||
<Compile Include="Enums\NTStatus.cs" />
|
||||
<Compile Include="Enums\SMBTransportType.cs" />
|
||||
|
|
|
@ -7,7 +7,7 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using SMBLibrary.Authentication;
|
||||
using SMBLibrary.Authentication.NTLM;
|
||||
|
||||
namespace SMBLibrary.Server
|
||||
{
|
||||
|
|
|
@ -9,6 +9,7 @@ using System.Collections.Generic;
|
|||
using System.Text;
|
||||
using Utilities;
|
||||
using SMBLibrary.Authentication;
|
||||
using SMBLibrary.Authentication.NTLM;
|
||||
|
||||
namespace SMBLibrary.Server
|
||||
{
|
||||
|
|
|
@ -8,6 +8,7 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using SMBLibrary.Authentication;
|
||||
using SMBLibrary.Authentication.NTLM;
|
||||
using SMBLibrary.SMB1;
|
||||
using Utilities;
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using SMBLibrary.Authentication;
|
||||
using SMBLibrary.Authentication.NTLM;
|
||||
using SMBLibrary.SMB1;
|
||||
using Utilities;
|
||||
|
||||
|
|
|
@ -7,6 +7,7 @@
|
|||
using System;
|
||||
using System.Collections.Generic;
|
||||
using SMBLibrary.Authentication;
|
||||
using SMBLibrary.Authentication.NTLM;
|
||||
using SMBLibrary.SMB2;
|
||||
using Utilities;
|
||||
|
||||
|
|
|
@ -8,7 +8,7 @@ using System;
|
|||
using System.Collections.Generic;
|
||||
using System.Text;
|
||||
using Utilities;
|
||||
using SMBLibrary.Authentication;
|
||||
using SMBLibrary.Authentication.NTLM;
|
||||
|
||||
namespace SMBLibrary
|
||||
{
|
||||
|
|
|
@ -9,7 +9,7 @@ using System.Collections.Generic;
|
|||
using System.Net;
|
||||
using System.Text;
|
||||
using Utilities;
|
||||
using SMBLibrary.Authentication;
|
||||
using SMBLibrary.Authentication.NTLM;
|
||||
using SMBLibrary.Win32.Security;
|
||||
using Microsoft.Win32;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue