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/Smb2ServerGlobal.cs

C# · 1,296 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 System.Collections.Generic;

namespace Microsoft.Protocols.TestTools.StackSdk.FileAccessService.Smb2
{
    public class Smb2ServerGlobal
    {
        public bool RequireMessageSigning;

        // ServerEnabled

        public Dictionary<string, Smb2ServerShare> ShareList;

        public Dictionary<ulong, Smb2ServerOpen> GlobalOpenTable;

        public Dictionary<ulong, Smb2ServerSession> GlobalSessionTable;

        public Dictionary<string, Smb2ServerConnection> ConnectionList;

        // ServerGuid

        // ServerStartTime

        public bool IsDfsCapable;

        public uint ServerSideCopyMaxNumberofChunks;

        public uint ServerSideCopyMaxChunkSize;

        public uint ServerSideCopyMaxDataSize;

        // -------
        // SMB 2.1
        // -------

        public ServerHashLevel ServerHashLevel;

        public Dictionary<Guid, Smb2ServerLeaseTable> GlobalLeaseTableList;

        public uint MaxResiliencyTimeout;

        // ResilientOpenScavengerExpiryTime
    }

    public enum ServerHashLevel
    {
        HashEnableAll,
        HashDisableAll,
        HashEnableShare
    }
}