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/MS-ADFSPIP/src/Adapter/SUTRequestHandler/IRequestHandlerFactory.cs

C# · 1,152 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.Identity.ADFSPIP
{
    /// <summary>
    /// The factory class to retrieve a handler which handles
    /// a certain HTTP request.
    /// </summary>
    public interface IRequestHandlerFactory
    {
        /// <summary>
        /// Register a handler type into the factory, so that the 
        /// factory knows such a handler exists.
        /// </summary>
        /// <typeparam name="T">
        /// A request handler class which inherits IRequestHandler.
        /// </typeparam>
        void RegisterRequestHandler<T>() where T : IRequestHandler;

        /// <summary>
        /// Get the proper handler which handles the request.
        /// </summary>
        /// <param name="request">
        /// The HTTP request to handle.
        /// </param>
        /// <returns>
        /// An instance of IRequestHandler which can handle the request.
        /// </returns>
        IRequestHandler GetRequestHandler(HttpRequestMessage request);
    }
}