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 files3

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

TestSuites/BranchCache/src/MS-PCHC/Shared/PchcStack/Server/NoSEGMENTINFOMESSAGEReceivedException.cs

C# · 2,760 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.TestTools.StackSdk.BranchCache.Pchc
{
    using System;
    using System.Runtime.Serialization;
    using System.Security;

    /// <summary>
    /// NoSEGMENTINFOMESSAGEReceivedException is inherited from TimeoutException, which is used to specify
    /// the hosted cache server do not receive SEGMENT_INFO_MESSAGE from the client.
    /// </summary>
    [Serializable] 
    public class NoSEGMENTINFOMESSAGEReceivedException : TimeoutException
    {
        /// <summary>
        /// Initializes a new instance of the NoSEGMENTINFOMESSAGEReceivedException class.
        /// </summary>
        public NoSEGMENTINFOMESSAGEReceivedException()
            : base()
        {
        }

        /// <summary>
        /// Initializes a new instance of the NoSEGMENTINFOMESSAGEReceivedException class with a specified
        /// error message is the cause of this exception. 
        /// </summary>
        /// <param name="message">The error message that explains the reason for the exception.</param>
        public NoSEGMENTINFOMESSAGEReceivedException(string message)
            : base(message)
        {
        }

        /// <summary>
        /// Initializes a new instance of the NoSEGMENTINFOMESSAGEReceivedException class with a specified
        /// error message and a reference to the inner exception that is the cause of
        /// this exception. 
        /// </summary>
        /// <param name="message">The error message that explains the reason for the exception.</param>
        /// <param name="inner">
        /// The exception that is the cause of the current exception, or a null reference
        /// (Nothing in Visual Basic) if no inner exception is specified.
        /// </param>
        public NoSEGMENTINFOMESSAGEReceivedException(string message, Exception inner)
            : base(message, inner)
        {
        }

        /// <summary>
        /// Initializes a new instance of the NoSEGMENTINFOMESSAGEReceivedException class with serialized data.
        /// </summary>
        /// <param name="info">
        /// The System.Runtime.Serialization.SerializationInfo that holds the serialized
        /// object data about the exception being thrown.
        /// </param>
        /// <param name="context">
        /// The System.Runtime.Serialization.StreamingContext that contains contextual
        /// information about the source or destination.
        /// </param>
        protected NoSEGMENTINFOMESSAGEReceivedException(SerializationInfo info, StreamingContext context)
            : base(info, context)
        {
        }
    }
}