Exploit database

GH-88d8bc551618926a04536090300b4292

dungnm24/cve-2020-0796

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2020-0796

81 sources

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

Repository files8

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

WindowsProtocolTestSuites/ProtoSDK/MS-RDPEUSB/RdpeusbPduParser.cs

C# · 798 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;
using System.Text;
using Microsoft.Protocols.TestTools.StackSdk;
using Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpedyc;

namespace Microsoft.Protocols.TestTools.StackSdk.RemoteDesktop.Rdpeusb
{
    /// <summary>
    /// This abstract class is used as the interface of the parser of the MS-RDPEUSB data PDUs.
    /// </summary>
    public abstract class RdpeusbPduParser
    {
        public virtual EusbPdu ParsePdu(byte[] data)
        {
            EusbPdu pdu = new EusbUnknownPdu();
            PduMarshaler.Unmarshal(data, pdu);
            return pdu;
        }
    }    

    
}