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 files13
dungnm24/cve-2020-0796Revision fe7aebbe1789
- ↑..Parent directory
- Smb2Client.cs
- Smb2ClientConnection.cs
- Smb2ClientCopyRange.cs
- Smb2ClientFile.cs
- Smb2ClientGlobalConfig.cs
- Smb2ClientGlobalContext.cs
- Smb2ClientLockRange.cs
- Smb2ClientOpen.cs
- Smb2ClientPendingRequest.cs
- Smb2ClientSession.cs
- Smb2ClientTransport.cs
- Smb2ClientTreeConnect.cs
- Smb2ClientUnlockRange.cs
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
WindowsProtocolTestSuites/ProtoSDK/MS-SMB2/Client/Smb2ClientGlobalConfig.cs
C# · 1,580 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;
namespace Microsoft.Protocols.TestTools.StackSdk.FileAccessService.Smb2
{
/// <summary>
/// Contains config about global context
/// </summary>
public class Smb2ClientGlobalConfig
{
/// <summary>
/// A Boolean that, if set, indicates that this node requires that messages MUST be signed
/// if the message is sent with a user security context that is neither anonymous nor guest.
/// If not set, this node does not require that any messages be signed, but MAY still choose
/// to do so if the other node requires it
/// </summary>
public bool RequireMessageSigning
{
get
{
return true;
}
}
public TimeSpan Timeout
{
get
{
return TimeSpan.FromSeconds(10);
}
}
public bool ImplementedV2002
{
get
{
return true;
}
}
public bool ImplementedV21
{
get
{
return true;
}
}
public bool MaySignRequest
{
get
{
return false;
}
}
public bool MayReuseConnection
{
get
{
return false;
}
}
}
}