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 files148
dungnm24/cve-2020-0796Revision fe7aebbe1789
- ↑..Parent directory
- SmbCheckDirectoryRequestPacket.cs
- SmbCheckDirectoryResponsePacket.cs
- SmbCloseAndTreeDiscRequestPacket.cs
- SmbCloseAndTreeDiscResponsePacket.cs
- SmbClosePrintFileRequestPacket.cs
- SmbClosePrintFileResponsePacket.cs
- SmbCloseRequestPacket.cs
- SmbCloseResponsePacket.cs
- SmbCopyRequestPacket.cs
- SmbCopyResponsePacket.cs
- SmbCreateDirectoryRequestPacket.cs
- SmbCreateDirectoryResponsePacket.cs
- SmbCreateNewRequestPacket.cs
- SmbCreateNewResponsePacket.cs
- SmbCreateRequestPacket.cs
- SmbCreateResponsePacket.cs
- SmbCreateTemporaryRequestPacket.cs
- SmbCreateTemporaryResponsePacket.cs
- SmbDeleteDirectoryRequestPacket.cs
- SmbDeleteDirectoryResponsePacket.cs
- SmbDeleteRequestPacket.cs
- SmbDeleteResponsePacket.cs
- SmbEchoRequestPacket.cs
- SmbEchoResponsePacket.cs
- SmbFindClose2RequestPacket.cs
- SmbFindClose2ResponsePacket.cs
- SmbFindCloseRequestPacket.cs
- SmbFindCloseResponsePacket.cs
- SmbFindNotifyCloseRequestPacket.cs
- SmbFindNotifyCloseResponsePacket.cs
- SmbFindRequestPacket.cs
- SmbFindResponsePacket.cs
- SmbFindUniqueRequestPacket.cs
- SmbFindUniqueResponsePacket.cs
- SmbFlushRequestPacket.cs
- SmbFlushResponsePacket.cs
- SmbGetPrintQueueRequestPacket.cs
- SmbGetPrintQueueResponsePacket.cs
- SmbInvalidRequestPacket.cs
- SmbInvalidResponsePacket.cs
- SmbIoctlRequestPacket.cs
- SmbIoctlResponsePacket.cs
- SmbIoctlSecondaryRequestPacket.cs
- SmbIoctlSecondaryResponsePacket.cs
- SmbLockAndReadRequestPacket.cs
- SmbLockAndReadResponsePacket.cs
- SmbLockByteRangeRequestPacket.cs
- SmbLockByteRangeResponsePacket.cs
- SmbLockingAndxRequestPacket.cs
- SmbLockingAndxResponsePacket.cs
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
WindowsProtocolTestSuites/ProtoSDK/MS-CIFS/Messages/Com/SmbFindNotifyCloseResponsePacket.cs
C# · 2,863 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 SmbFindNotifyClose Response
/// </summary>
public class SmbFindNotifyCloseResponsePacket : SmbSingleResponsePacket
{
#region Fields
// none
#endregion
#region Properties
// none
#endregion
#region Constructor
/// <summary>
/// Constructor.
/// </summary>
public SmbFindNotifyCloseResponsePacket()
: base()
{
this.InitDefaultValue();
}
/// <summary>
/// Constructor: Create a request directly from a buffer.
/// </summary>
public SmbFindNotifyCloseResponsePacket(byte[] data)
: base(data)
{
}
/// <summary>
/// Deep copy constructor.
/// </summary>
public SmbFindNotifyCloseResponsePacket(SmbFindNotifyCloseResponsePacket 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 SmbFindNotifyCloseResponsePacket(this);
}
/// <summary>
/// encode the SmbParameters
/// </summary>
protected override void EncodeParameters()
{
this.smbParametersBlock.WordCount = 0;
this.smbParametersBlock.Words = new ushort[0];
}
/// <summary>
/// decode the SmbData
/// </summary>
protected override void EncodeData()
{
this.smbDataBlock.ByteCount = 0;
this.smbDataBlock.Bytes = new byte[0];
}
/// <summary>
/// to decode the smb parameters: from the general SmbParameters to the concrete Smb Parameters.
/// </summary>
protected override void DecodeParameters()
{
}
/// <summary>
/// to decode the smb data: from the general SmbDada to the concrete Smb Data.
/// </summary>
protected override void DecodeData()
{
}
#endregion
#region initialize fields with default value
/// <summary>
/// init packet, set default field data
/// </summary>
private void InitDefaultValue()
{
}
#endregion
}
}