|
@@ -1,4 +1,4 @@
|
|
|
-/* Copyright (C) 2014 Tal Aloni <tal.aloni.il@gmail.com>. All rights reserved.
|
|
|
+/* Copyright (C) 2014-2017 Tal Aloni <tal.aloni.il@gmail.com>. All rights reserved.
|
|
|
*
|
|
|
* You can redistribute this program and/or modify it under the terms of
|
|
|
* the GNU Lesser Public License as published by the Free Software Foundation,
|
|
@@ -6,7 +6,6 @@
|
|
|
*/
|
|
|
using System;
|
|
|
using System.Collections.Generic;
|
|
|
-using System.Text;
|
|
|
using Utilities;
|
|
|
|
|
|
namespace SMBLibrary.SMB1
|
|
@@ -14,7 +13,7 @@ namespace SMBLibrary.SMB1
|
|
|
/// <summary>
|
|
|
/// NT_TRANSACT_SET_SECURITY_DESC Request
|
|
|
/// </summary>
|
|
|
- public class NTTransactSetSecurityDescriptor : NTTransactSubcommand
|
|
|
+ public class NTTransactSetSecurityDescriptorRequest : NTTransactSubcommand
|
|
|
{
|
|
|
public const int ParametersLength = 8;
|
|
|
// Parameters:
|
|
@@ -24,11 +23,11 @@ namespace SMBLibrary.SMB1
|
|
|
// Data:
|
|
|
public SecurityDescriptor SecurityDescriptor;
|
|
|
|
|
|
- public NTTransactSetSecurityDescriptor()
|
|
|
+ public NTTransactSetSecurityDescriptorRequest()
|
|
|
{
|
|
|
}
|
|
|
|
|
|
- public NTTransactSetSecurityDescriptor(byte[] parameters, byte[] data)
|
|
|
+ public NTTransactSetSecurityDescriptorRequest(byte[] parameters, byte[] data)
|
|
|
{
|
|
|
FID = LittleEndianConverter.ToUInt16(parameters, 0);
|
|
|
Reserved = LittleEndianConverter.ToUInt16(parameters, 2);
|