SMBServer: Hid internal classes

This commit is contained in:
Tal Aloni 2017-03-09 15:35:41 +02:00
parent f71ef6b232
commit a7af73ae2d
27 changed files with 27 additions and 27 deletions

View file

@ -13,7 +13,7 @@ using Utilities;
namespace SMBLibrary.Server.SMB1 namespace SMBLibrary.Server.SMB1
{ {
public class FileStoreResponseHelper internal class FileStoreResponseHelper
{ {
internal static SMB1Command GetCreateDirectoryResponse(SMB1Header header, CreateDirectoryRequest request, ISMBShare share, SMB1ConnectionState state) internal static SMB1Command GetCreateDirectoryResponse(SMB1Header header, CreateDirectoryRequest request, ISMBShare share, SMB1ConnectionState state)
{ {

View file

@ -14,7 +14,7 @@ using Utilities;
namespace SMBLibrary.Server.SMB1 namespace SMBLibrary.Server.SMB1
{ {
public class NTCreateHelper internal class NTCreateHelper
{ {
internal static SMB1Command GetNTCreateResponse(SMB1Header header, NTCreateAndXRequest request, ISMBShare share, SMB1ConnectionState state) internal static SMB1Command GetNTCreateResponse(SMB1Header header, NTCreateAndXRequest request, ISMBShare share, SMB1ConnectionState state)
{ {

View file

@ -12,7 +12,7 @@ using Utilities;
namespace SMBLibrary.Server.SMB1 namespace SMBLibrary.Server.SMB1
{ {
public class NTTransactHelper internal class NTTransactHelper
{ {
/// <summary> /// <summary>
/// The client MUST send as many secondary requests as are needed to complete the transfer of the transaction request. /// The client MUST send as many secondary requests as are needed to complete the transfer of the transaction request.

View file

@ -17,7 +17,7 @@ namespace SMBLibrary.Server.SMB1
/// <summary> /// <summary>
/// Negotiate helper /// Negotiate helper
/// </summary> /// </summary>
public class NegotiateHelper internal class NegotiateHelper
{ {
internal static NegotiateResponse GetNegotiateResponse(SMB1Header header, NegotiateRequest request, GSSProvider securityProvider, ConnectionState state) internal static NegotiateResponse GetNegotiateResponse(SMB1Header header, NegotiateRequest request, GSSProvider securityProvider, ConnectionState state)
{ {

View file

@ -14,7 +14,7 @@ using Utilities;
namespace SMBLibrary.Server.SMB1 namespace SMBLibrary.Server.SMB1
{ {
public class OpenAndXHelper internal class OpenAndXHelper
{ {
internal static SMB1Command GetOpenAndXResponse(SMB1Header header, OpenAndXRequest request, ISMBShare share, SMB1ConnectionState state) internal static SMB1Command GetOpenAndXResponse(SMB1Header header, OpenAndXRequest request, ISMBShare share, SMB1ConnectionState state)
{ {

View file

@ -15,7 +15,7 @@ using Utilities;
namespace SMBLibrary.Server.SMB1 namespace SMBLibrary.Server.SMB1
{ {
public class ReadWriteResponseHelper internal class ReadWriteResponseHelper
{ {
internal static SMB1Command GetReadResponse(SMB1Header header, ReadRequest request, ISMBShare share, SMB1ConnectionState state) internal static SMB1Command GetReadResponse(SMB1Header header, ReadRequest request, ISMBShare share, SMB1ConnectionState state)
{ {

View file

@ -12,7 +12,7 @@ using Utilities;
namespace SMBLibrary.Server.SMB1 namespace SMBLibrary.Server.SMB1
{ {
public partial class SMB1FileStoreHelper internal partial class SMB1FileStoreHelper
{ {
public static NTStatus GetFileInformation(out QueryInformation result, INTFileStore fileStore, string path, QueryInformationLevel informationLevel, SecurityContext securityContext) public static NTStatus GetFileInformation(out QueryInformation result, INTFileStore fileStore, string path, QueryInformationLevel informationLevel, SecurityContext securityContext)
{ {

View file

@ -12,7 +12,7 @@ using Utilities;
namespace SMBLibrary.Server.SMB1 namespace SMBLibrary.Server.SMB1
{ {
public partial class SMB1FileStoreHelper internal partial class SMB1FileStoreHelper
{ {
// Filename pattern examples: // Filename pattern examples:
// '\Directory' - Get the directory entry // '\Directory' - Get the directory entry

View file

@ -12,7 +12,7 @@ using Utilities;
namespace SMBLibrary.Server.SMB1 namespace SMBLibrary.Server.SMB1
{ {
public partial class SMB1FileStoreHelper internal partial class SMB1FileStoreHelper
{ {
public static NTStatus GetFileSystemInformation(out QueryFSInformation result, INTFileStore fileStore, QueryFSInformationLevel informationLevel) public static NTStatus GetFileSystemInformation(out QueryFSInformation result, INTFileStore fileStore, QueryFSInformationLevel informationLevel)
{ {

View file

@ -13,7 +13,7 @@ using Utilities;
namespace SMBLibrary.Server.SMB1 namespace SMBLibrary.Server.SMB1
{ {
public partial class SMB1FileStoreHelper internal partial class SMB1FileStoreHelper
{ {
public static NTStatus SetFileInformation(INTFileStore fileStore, object handle, SetInformation information) public static NTStatus SetFileInformation(INTFileStore fileStore, object handle, SetInformation information)
{ {

View file

@ -12,7 +12,7 @@ using Utilities;
namespace SMBLibrary.Server.SMB1 namespace SMBLibrary.Server.SMB1
{ {
public partial class SMB1FileStoreHelper internal partial class SMB1FileStoreHelper
{ {
public static NTStatus CreateDirectory(INTFileStore fileStore, string path, SecurityContext securityContext) public static NTStatus CreateDirectory(INTFileStore fileStore, string path, SecurityContext securityContext)
{ {

View file

@ -13,7 +13,7 @@ using Utilities;
namespace SMBLibrary.Server.SMB1 namespace SMBLibrary.Server.SMB1
{ {
public partial class ServerResponseHelper internal partial class ServerResponseHelper
{ {
internal static SMB1Command GetCloseResponse(SMB1Header header, CloseRequest request, ISMBShare share, SMB1ConnectionState state) internal static SMB1Command GetCloseResponse(SMB1Header header, CloseRequest request, ISMBShare share, SMB1ConnectionState state)
{ {

View file

@ -17,7 +17,7 @@ namespace SMBLibrary.Server.SMB1
/// <summary> /// <summary>
/// Session Setup helper /// Session Setup helper
/// </summary> /// </summary>
public class SessionSetupHelper internal class SessionSetupHelper
{ {
internal static SMB1Command GetSessionSetupResponse(SMB1Header header, SessionSetupAndXRequest request, GSSProvider securityProvider, SMB1ConnectionState state) internal static SMB1Command GetSessionSetupResponse(SMB1Header header, SessionSetupAndXRequest request, GSSProvider securityProvider, SMB1ConnectionState state)
{ {

View file

@ -13,7 +13,7 @@ using Utilities;
namespace SMBLibrary.Server.SMB1 namespace SMBLibrary.Server.SMB1
{ {
public class Transaction2SubcommandHelper internal class Transaction2SubcommandHelper
{ {
internal static Transaction2FindFirst2Response GetSubcommandResponse(SMB1Header header, Transaction2FindFirst2Request subcommand, ISMBShare share, SMB1ConnectionState state) internal static Transaction2FindFirst2Response GetSubcommandResponse(SMB1Header header, Transaction2FindFirst2Request subcommand, ISMBShare share, SMB1ConnectionState state)
{ {

View file

@ -14,7 +14,7 @@ using Utilities;
namespace SMBLibrary.Server.SMB1 namespace SMBLibrary.Server.SMB1
{ {
public class TransactionHelper internal class TransactionHelper
{ {
/// <summary> /// <summary>
/// The client MUST send as many secondary requests as are needed to complete the transfer of the transaction request. /// The client MUST send as many secondary requests as are needed to complete the transfer of the transaction request.

View file

@ -14,7 +14,7 @@ using Utilities;
namespace SMBLibrary.Server.SMB1 namespace SMBLibrary.Server.SMB1
{ {
public class TransactionSubcommandHelper internal class TransactionSubcommandHelper
{ {
internal static TransactionTransactNamedPipeResponse GetSubcommandResponse(SMB1Header header, TransactionTransactNamedPipeRequest subcommand, ISMBShare share, SMB1ConnectionState state) internal static TransactionTransactNamedPipeResponse GetSubcommandResponse(SMB1Header header, TransactionTransactNamedPipeRequest subcommand, ISMBShare share, SMB1ConnectionState state)
{ {

View file

@ -12,7 +12,7 @@ using Utilities;
namespace SMBLibrary.Server.SMB1 namespace SMBLibrary.Server.SMB1
{ {
public class TreeConnectHelper internal class TreeConnectHelper
{ {
internal static SMB1Command GetTreeConnectResponse(SMB1Header header, TreeConnectAndXRequest request, SMB1ConnectionState state, NamedPipeShare services, ShareCollection shares) internal static SMB1Command GetTreeConnectResponse(SMB1Header header, TreeConnectAndXRequest request, SMB1ConnectionState state, NamedPipeShare services, ShareCollection shares)
{ {

View file

@ -12,7 +12,7 @@ using Utilities;
namespace SMBLibrary.Server.SMB2 namespace SMBLibrary.Server.SMB2
{ {
public class CloseHelper internal class CloseHelper
{ {
internal static SMB2Command GetCloseResponse(CloseRequest request, ISMBShare share, SMB2ConnectionState state) internal static SMB2Command GetCloseResponse(CloseRequest request, ISMBShare share, SMB2ConnectionState state)
{ {

View file

@ -12,7 +12,7 @@ using Utilities;
namespace SMBLibrary.Server.SMB2 namespace SMBLibrary.Server.SMB2
{ {
public class CreateHelper internal class CreateHelper
{ {
internal static SMB2Command GetCreateResponse(CreateRequest request, ISMBShare share, SMB2ConnectionState state) internal static SMB2Command GetCreateResponse(CreateRequest request, ISMBShare share, SMB2ConnectionState state)
{ {

View file

@ -12,7 +12,7 @@ using Utilities;
namespace SMBLibrary.Server.SMB2 namespace SMBLibrary.Server.SMB2
{ {
public class IOCtlHelper internal class IOCtlHelper
{ {
internal static SMB2Command GetIOCtlResponse(IOCtlRequest request, ISMBShare share, SMB2ConnectionState state) internal static SMB2Command GetIOCtlResponse(IOCtlRequest request, ISMBShare share, SMB2ConnectionState state)
{ {

View file

@ -15,7 +15,7 @@ namespace SMBLibrary.Server.SMB2
/// <summary> /// <summary>
/// Negotiate helper /// Negotiate helper
/// </summary> /// </summary>
public class NegotiateHelper internal class NegotiateHelper
{ {
public const string SMB2002Dialect = "SMB 2.002"; public const string SMB2002Dialect = "SMB 2.002";
public const string SMB2xxxDialect = "SMB 2.???"; public const string SMB2xxxDialect = "SMB 2.???";

View file

@ -12,7 +12,7 @@ using Utilities;
namespace SMBLibrary.Server.SMB2 namespace SMBLibrary.Server.SMB2
{ {
public class QueryDirectoryHelper internal class QueryDirectoryHelper
{ {
internal static SMB2Command GetQueryDirectoryResponse(QueryDirectoryRequest request, ISMBShare share, SMB2ConnectionState state) internal static SMB2Command GetQueryDirectoryResponse(QueryDirectoryRequest request, ISMBShare share, SMB2ConnectionState state)
{ {

View file

@ -12,7 +12,7 @@ using Utilities;
namespace SMBLibrary.Server.SMB2 namespace SMBLibrary.Server.SMB2
{ {
public class QueryInfoHelper internal class QueryInfoHelper
{ {
internal static SMB2Command GetQueryInfoResponse(QueryInfoRequest request, ISMBShare share, SMB2ConnectionState state) internal static SMB2Command GetQueryInfoResponse(QueryInfoRequest request, ISMBShare share, SMB2ConnectionState state)
{ {

View file

@ -12,7 +12,7 @@ using Utilities;
namespace SMBLibrary.Server.SMB2 namespace SMBLibrary.Server.SMB2
{ {
public class ReadWriteResponseHelper internal class ReadWriteResponseHelper
{ {
internal static SMB2Command GetReadResponse(ReadRequest request, ISMBShare share, SMB2ConnectionState state) internal static SMB2Command GetReadResponse(ReadRequest request, ISMBShare share, SMB2ConnectionState state)
{ {

View file

@ -16,7 +16,7 @@ namespace SMBLibrary.Server.SMB2
/// <summary> /// <summary>
/// Session Setup helper /// Session Setup helper
/// </summary> /// </summary>
public class SessionSetupHelper internal class SessionSetupHelper
{ {
internal static SMB2Command GetSessionSetupResponse(SessionSetupRequest request, GSSProvider securityProvider, SMB2ConnectionState state) internal static SMB2Command GetSessionSetupResponse(SessionSetupRequest request, GSSProvider securityProvider, SMB2ConnectionState state)
{ {

View file

@ -12,7 +12,7 @@ using Utilities;
namespace SMBLibrary.Server.SMB2 namespace SMBLibrary.Server.SMB2
{ {
public class SetInfoHelper internal class SetInfoHelper
{ {
internal static SMB2Command GetSetInfoResponse(SetInfoRequest request, ISMBShare share, SMB2ConnectionState state) internal static SMB2Command GetSetInfoResponse(SetInfoRequest request, ISMBShare share, SMB2ConnectionState state)
{ {

View file

@ -12,7 +12,7 @@ using Utilities;
namespace SMBLibrary.Server.SMB2 namespace SMBLibrary.Server.SMB2
{ {
public class TreeConnectHelper internal class TreeConnectHelper
{ {
internal static SMB2Command GetTreeConnectResponse(TreeConnectRequest request, SMB2ConnectionState state, NamedPipeShare services, ShareCollection shares) internal static SMB2Command GetTreeConnectResponse(TreeConnectRequest request, SMB2ConnectionState state, NamedPipeShare services, ShareCollection shares)
{ {