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

C# · 1,207 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
{
    /*
    ConferenceName ::= SEQUENCE
    {
        numeric SimpleNumericString,
        text SimpleTextString OPTIONAL,
        ...,
        unicodeText TextString OPTIONAL
    }
    */
    public class ConferenceName : Asn1Sequence
    {
        [Asn1Field(0)]
        public SimpleNumericString numeric { get; set; }
        
        [Asn1Field(1, Optional = true)]
        public SimpleTextString text { get; set; }
        
        [Asn1Extension]
        public object obj = null;

        public ConferenceName()
        {
            this.numeric = null;
            this.text = null;
        }
        
        public ConferenceName(
         SimpleNumericString numeric,
         SimpleTextString text)
        {
            this.numeric = numeric;
            this.text = text;
        }

        public ConferenceName(string str)
            : this(new SimpleNumericString(str), null)
        {
        }
    }
}