Exploit database

GH-ea91ecf629103514d4b348ce44007631

jamf/cve-2020-1206-poc

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2020-1206

3 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files15
jamf/cve-2020-1206-pocRevision 9e917e593af3

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

ProtoSDK/MS-SMB2/Server/Smb2ServerShare.cs

C# · 1,082 bytes
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.

namespace Microsoft.Protocols.TestTools.StackSdk.FileAccessService.Smb2
{
    public class Smb2ServerShare
    {
        public string Name;

        public string ServerName;

        public string LocalPath;

        public string ConnectionSecurity;

        public string FileSecurity;

        public CscFlags CscFlags;

        public bool IsDfs;

        public bool DoAccessBasedDirectoryEnumeration;

        public bool AllowNamespaceCaching;

        public bool ForceSharedDelete;

        public bool RestrictExclusiveOpens;

        public uint MaxUsers;

        public uint CurrentUsers;

        public bool ForceLevel2Oplock;

        public bool HashEnabled;

        // --------
        // SMB2.2
        // --------
        public bool IsCA;
    }

    public enum CscFlags
    {
        ManualCaching,
        AutomaticCachingFiles,
        AutomaticCachingFilesPrograms,
        NoOfflineCaching
    }
}