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 files34
dungnm24/cve-2020-0796Revision fe7aebbe1789
- ↑..Parent directory
- SmbTrans2CreateDirectoryFinalResponsePacket.cs
- SmbTrans2CreateDirectoryRequestPacket.cs
- SmbTrans2FindFirst2FinalResponsePacket.cs
- SmbTrans2FindFirst2RequestPacket.cs
- SmbTrans2FindNext2FinalResponsePacket.cs
- SmbTrans2FindNext2RequestPacket.cs
- SmbTrans2FindNotifyFirstFinalResponsePacket.cs
- SmbTrans2FindNotifyFirstRequestPacket.cs
- SmbTrans2FindNotifyNextFinalResponsePacket.cs
- SmbTrans2FindNotifyNextRequestPacket.cs
- SmbTrans2FsctlFinalResponsePacket.cs
- SmbTrans2FsctlRequestPacket.cs
- SmbTrans2GetDfsReferalFinalResponsePacket.cs
- SmbTrans2GetDfsReferalRequestPacket.cs
- SmbTrans2Ioctl2FinalResponsePacket.cs
- SmbTrans2Ioctl2RequestPacket.cs
- SmbTrans2Open2FinalResponsePacket.cs
- SmbTrans2Open2RequestPacket.cs
- SmbTrans2QueryFileInformationFinalResponsePacket.cs
- SmbTrans2QueryFileInformationRequestPacket.cs
- SmbTrans2QueryFsInformationFinalResponsePacket.cs
- SmbTrans2QueryFsInformationRequestPacket.cs
- SmbTrans2QueryPathInformationFinalResponsePacket.cs
- SmbTrans2QueryPathInformationRequestPacket.cs
- SmbTrans2ReportDfsInconsistencyFinalResponsePacket.cs
- SmbTrans2ReportDfsInconsistencyRequestPacket.cs
- SmbTrans2SessionSetupFinalResponsePacket.cs
- SmbTrans2SessionSetupRequestPacket.cs
- SmbTrans2SetFileInformationFinalResponsePacket.cs
- SmbTrans2SetFileInformationRequestPacket.cs
- SmbTrans2SetFsInformationFinalResponsePacket.cs
- SmbTrans2SetFsInformationRequestPacket.cs
- SmbTrans2SetPathInformationFinalResponsePacket.cs
- SmbTrans2SetPathInformationRequestPacket.cs
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
WindowsProtocolTestSuites/ProtoSDK/MS-CIFS/Messages/Trans2/SmbTrans2SessionSetupRequestPacket.cs
C# · 3,028 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 SmbTrans2SessionSetup Request
/// </summary>
public class SmbTrans2SessionSetupRequestPacket : SmbTransaction2RequestPacket
{
#region Fields
#endregion
#region Properties
/// <summary>
/// get the FID of Trans2_Parameters
/// </summary>
internal override ushort FID
{
get
{
return INVALID_FID;
}
}
#endregion
#region Constructor
/// <summary>
/// Constructor.
/// </summary>
public SmbTrans2SessionSetupRequestPacket()
: base()
{
this.InitDefaultValue();
}
/// <summary>
/// Constructor: Create a request directly from a buffer.
/// </summary>
public SmbTrans2SessionSetupRequestPacket(byte[] data)
: base(data)
{
}
/// <summary>
/// Deep copy constructor.
/// </summary>
public SmbTrans2SessionSetupRequestPacket(SmbTrans2SessionSetupRequestPacket 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 SmbTrans2SessionSetupRequestPacket(this);
}
/// <summary>
/// Encode the struct of Trans2Parameters into the byte array in SmbData.Trans2_Parameters
/// </summary>
protected override void EncodeTrans2Parameters()
{
}
/// <summary>
/// Encode the struct of Trans2Data into the byte array in SmbData.Trans2_Data
/// </summary>
protected override void EncodeTrans2Data()
{
}
/// <summary>
/// to decode the Trans2 parameters: from the general Trans2Parameters to the concrete Trans2 Parameters.
/// </summary>
protected override void DecodeTrans2Parameters()
{
}
/// <summary>
/// to decode the Trans2 data: from the general Trans2Dada to the concrete Trans2 Data.
/// </summary>
protected override void DecodeTrans2Data()
{
}
#endregion
#region initialize fields with default value
/// <summary>
/// init packet, set default field data
/// </summary>
private void InitDefaultValue()
{
}
#endregion
}
}