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 files82
dungnm24/cve-2020-0796Revision fe7aebbe1789
- ↑..Parent directory
- SmbCloseRequestPacket.cs
- SmbCloseResponsePacket.cs
- SmbDirectTcpPacket.cs
- SmbErrorResponsePacket.cs
- SmbLogoffAndxRequestPacket.cs
- SmbLogoffAndxResponsePacket.cs
- SmbNegotiateImplicitNtlmResponsePacket.cs
- SmbNegotiateRequestPacket.cs
- SmbNegotiateResponsePacket.cs
- SmbNtCreateAndxRequestPacket.cs
- SmbNtCreateAndxResponsePacket.cs
- SmbNtTransFsctlSrvCopyChunkRequestPacket.cs
- SmbNtTransFsctlSrvCopyChunkResponsePacket.cs
- SmbNtTransFsctlSrvEnumerateSnapshotsRequestPacket.cs
- SmbNtTransFsctlSrvEnumerateSnapshotsResponsePacket.cs
- SmbNtTransFsctlSrvRequestResumeKeyRequestPacket.cs
- SmbNtTransFsctlSrvRequestResumeKeyResponsePacket.cs
- SmbNtTransQueryQuotaRequestPacket.cs
- SmbNtTransQueryQuotaResponsePacket.cs
- SmbNtTransRenameRequestPacket.cs
- SmbNtTransRenameResponsePacket.cs
- SmbNtTransSetQuotaRequestPacket.cs
- SmbNtTransSetQuotaResponsePacket.cs
- SmbNtTransactCreateRequestPacket.cs
- SmbNtTransactCreateResponsePacket.cs
- SmbNtTransactIoctlResponsePacket.cs
- SmbOpenAndxRequestPacket.cs
- SmbOpenAndxResponsePacket.cs
- SmbReadAndxRequestPacket.cs
- SmbReadAndxResponsePacket.cs
- SmbSessionSetupAndxRequestPacket.cs
- SmbSessionSetupAndxResponsePacket.cs
- SmbSessionSetupImplicitNtlmAndxRequestPacket.cs
- SmbSessionSetupImplicitNtlmAndxResponsePacket.cs
- SmbTrans2FindFirst2RequestPacket.cs
- SmbTrans2FindFirst2ResponsePacket.cs
- SmbTrans2FindNext2RequestPacket.cs
- SmbTrans2FindNext2ResponsePacket.cs
- SmbTrans2GetDfsReferralRequestPacket.cs
- SmbTrans2GetDfsReferralResponsePacket.cs
- SmbTrans2QueryFileInformationRequestPacket.cs
- SmbTrans2QueryFileInformationResponsePacket.cs
- SmbTrans2QueryFsInformationRequestPacket.cs
- SmbTrans2QueryFsInformationResponsePacket.cs
- SmbTrans2QueryPathInformationRequestPacket.cs
- SmbTrans2QueryPathInformationResponsePacket.cs
- SmbTrans2SetFileInformationRequestPacket.cs
- SmbTrans2SetFileInformationResponsePacket.cs
- SmbTrans2SetFsInformationRequestPacket.cs
- SmbTrans2SetFsInformationResponsePacket.cs
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
WindowsProtocolTestSuites/ProtoSDK/MS-SMB/Messages/SmbNtTransSetQuotaResponsePacket.cs
C# · 2,875 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.FileAccessService.Cifs;
namespace Microsoft.Protocols.TestTools.StackSdk.FileAccessService.Smb
{
/// <summary>
/// Packets for SmbNtTransSetQuota Response
/// </summary>
public class SmbNtTransSetQuotaResponsePacket : SmbNtTransactSuccessResponsePacket
{
#region Fields
// none
#endregion
#region Properties
// none
#endregion
#region Constructor
/// <summary>
/// Constructor.
/// </summary>
public SmbNtTransSetQuotaResponsePacket()
: base()
{
this.InitDefaultValue();
}
/// <summary>
/// Constructor: Create a request directly from a buffer.
/// </summary>
public SmbNtTransSetQuotaResponsePacket(byte[] data)
: base(data)
{
}
/// <summary>
/// Deep copy constructor.
/// </summary>
public SmbNtTransSetQuotaResponsePacket(SmbNtTransSetQuotaResponsePacket 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 SmbNtTransSetQuotaResponsePacket(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
}
}