Exploit databaseDownload repository ZIP
GH-88d8bc551618926a04536090300b4292
dungnm24/cve-2020-0796
Sources for CVE-2020-0796
81 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files12
dungnm24/cve-2020-0796Revision fe7aebbe1789
- ↑..Parent directory
- SmbNtTransactCreateRequestPacket.cs
- SmbNtTransactCreateResponsePacket.cs
- SmbNtTransactIoctlRequestPacket.cs
- SmbNtTransactIoctlResponsePacket.cs
- SmbNtTransactNotifyChangeRequestPacket.cs
- SmbNtTransactNotifyChangeResponsePacket.cs
- SmbNtTransactQuerySecurityDescRequestPacket.cs
- SmbNtTransactQuerySecurityDescResponsePacket.cs
- SmbNtTransactRenameRequestPacket.cs
- SmbNtTransactRenameResponsePacket.cs
- SmbNtTransactSetSecurityDescRequestPacket.cs
- SmbNtTransactSetSecurityDescResponsePacket.cs
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
WindowsProtocolTestSuites/ProtoSDK/MS-CIFS/Messages/NtTrans/SmbNtTransactNotifyChangeRequestPacket.cs
C# · 2,988 bytes// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using System;
using Microsoft.Protocols.TestTools.StackSdk;
namespace Microsoft.Protocols.TestTools.StackSdk.FileAccessService.Cifs
{
/// <summary>
/// Packets for SmbNtTransactNotifyChange Request
/// </summary>
public class SmbNtTransactNotifyChangeRequestPacket : SmbNtTransactRequestPacket
{
#region Fields
// none
#endregion
#region Properties
// none
#endregion
#region Constructor
/// <summary>
/// Constructor.
/// </summary>
public SmbNtTransactNotifyChangeRequestPacket()
: base()
{
this.InitDefaultValue();
}
/// <summary>
/// Constructor: Create a request directly from a buffer.
/// </summary>
public SmbNtTransactNotifyChangeRequestPacket(byte[] data)
: base(data)
{
}
/// <summary>
/// Deep copy constructor.
/// </summary>
public SmbNtTransactNotifyChangeRequestPacket(SmbNtTransactNotifyChangeRequestPacket packet)
: base(packet)
{
this.InitDefaultValue();
}
#endregion
#region override methods
/// <summary>
/// to create an instance of the StackPacket class that is identical to the current StackPacket.
/// </summary>
/// <returns>a new Packet cloned from this.</returns>
public override StackPacket Clone()
{
return new SmbNtTransactNotifyChangeRequestPacket(this);
}
/// <summary>
/// Encode the struct of NtTransParameters into the byte array in SmbData.NT_Trans_Parameters
/// </summary>
protected override void EncodeNtTransParameters()
{
this.smbData.NT_Trans_Parameters = new byte[0];
}
/// <summary>
/// Encode the struct of NtTransData into the byte array in SmbData.NT_Trans_Data
/// </summary>
protected override void EncodeNtTransData()
{
this.smbData.NT_Trans_Data = new byte[0];
}
/// <summary>
/// to decode the NtTrans parameters: from the general NtTransParameters to the concrete NtTrans Parameters.
/// </summary>
protected override void DecodeNtTransParameters()
{
}
/// <summary>
/// to decode the NtTrans data: from the general NtTransDada to the concrete NtTrans Data.
/// </summary>
protected override void DecodeNtTransData()
{
}
#endregion
#region initialize fields with default value
/// <summary>
/// init packet, set default field data
/// </summary>
private void InitDefaultValue()
{
}
#endregion
}
}