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 files4

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

WindowsProtocolTestSuites/TestSuites/BranchCache/src/MS-PCHC/Client/Adapter/Structure/ConnectionInformation.cs

C# · 1,158 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.TestSuites.Pchc
{
    using System;

    /// <summary>
    /// All Peer Content Caching and Retrieval: Hosted Cache Protocol request messages 
    /// use a common connection information structure, which describes the information 
    /// needed by the hosted cache to use the Peer Content Caching and Retrieval: Retrieval 
    /// Protocol [MS-PCCRR] as a client-role peer, to download needed blocks from the 
    /// client as a server-role peer.
    /// </summary>
    public struct ConnectionInformation
    {
        /// <summary>
        /// Port (2 bytes): A 16-bit unsigned integer that MUST be set by the client to the port 
        /// on which it is listening as a server-role peer, for use with the retrieval protocol.
        /// </summary>
        public ushort Port;

        /// <summary>
        /// Padding (6 bytes): The value of this field is indeterminate and MUST be ignored on processing
        /// </summary>
        public byte[] Padding;
    }
}