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 files17
jamf/cve-2020-1206-pocRevision 9e917e593af3

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

ProtoSDK/MS-RDPBCGR/ASNT124/Key.cs

C# · 1,046 bytes
// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Protocols.TestTools.StackSdk.Asn1;

namespace Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpbcgr.Gcc
{
    /*
    Key ::= CHOICE -- Identifier of a standard or non-standard object
    {
        object OBJECT IDENTIFIER,
        h221NonStandard H221NonStandardIdentifier
    }
    */
    public class Key : Asn1Choice
    {
        [Asn1ChoiceIndex]
        public const long obj = 0;
        [Asn1ChoiceElement(obj)]
        protected Asn1ObjectIdentifier field0 { get; set; }
        
        [Asn1ChoiceIndex]
        public const long h221NonStandard = 1;
        [Asn1ChoiceElement(h221NonStandard)]
        protected H221NonStandardIdentifier field1 { get; set; }
        
        public Key()
            : base()
        {
        }
        
        public Key(long? choiceIndex, Asn1Object obj)
            : base(choiceIndex, obj)
        {
        }
    }
}