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/SmbNtTransactRenameRequestPacket.cs
C# · 2,850 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 SmbNtTransactRename Request
/// </summary>
public class SmbNtTransactRenameRequestPacket : SmbNtTransactRequestPacket
{
#region Fields
// none
#endregion
#region Properties
// none
#endregion
#region Constructor
/// <summary>
/// Constructor.
/// </summary>
public SmbNtTransactRenameRequestPacket()
: base()
{
this.InitDefaultValue();
}
/// <summary>
/// Constructor: Create a request directly from a buffer.
/// </summary>
public SmbNtTransactRenameRequestPacket(byte[] data)
: base(data)
{
}
/// <summary>
/// Deep copy constructor.
/// </summary>
public SmbNtTransactRenameRequestPacket(SmbNtTransactRenameRequestPacket 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 SmbNtTransactRenameRequestPacket(this);
}
/// <summary>
/// Encode the struct of NtTransParameters into the byte array in SmbData.NT_Trans_Parameters
/// </summary>
protected override void EncodeNtTransParameters()
{
}
/// <summary>
/// Encode the struct of NtTransData into the byte array in SmbData.NT_Trans_Data
/// </summary>
protected override void EncodeNtTransData()
{
}
/// <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
}
}