Exploit databaseDownload repository ZIP
GH-ea91ecf629103514d4b348ce44007631
jamf/cve-2020-1206-poc
Sources for CVE-2020-1206
3 sourcesPreferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source
Repository files29
jamf/cve-2020-1206-pocRevision 9e917e593af3
- ↑..Parent directory
- DTLS/
- AccountCredential.cs
- CertContext.cs
- CertificateCredential.cs
- ClientSecurityContext.cs
- CredSspCred.cs
- Enums.cs
- ICredential.cs
- MachineAccountCredential.cs
- NativeMethods.cs
- SecurityBuffer.cs
- SecurityConfig.cs
- SecurityContext.cs
- SecurityPackageContextIssuerListInfo.cs
- SecurityPackageContextKeyInfo.cs
- SecurityPackageContextNativeNames.cs
- SecurityPackageContextNegotiationInfo.cs
- SecurityPackageContextSizes.cs
- SecurityPackageInformation.cs
- ServerSecurityContext.cs
- Sspi.csproj
- Sspi.sln
- SspiClientSecurityConfig.cs
- SspiClientSecurityContext.cs
- SspiException.cs
- SspiServerSecurityConfig.cs
- SspiServerSecurityContext.cs
- SspiStructures.cs
- SspiUtility.cs
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
ProtoSDK/Sspi/SecurityBuffer.cs
C# · 1,177 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.Runtime.InteropServices;
namespace Microsoft.Protocols.TestTools.StackSdk.Security.Sspi
{
/// <summary>
/// The SecBuffer structure describes a buffer allocated by a transport application to pass to a security package.
/// reference: http://msdn.microsoft.com/en-us/library/aa379814(VS.85).aspx
/// </summary>
public class SecurityBuffer
{
/// <summary>
/// Bit flags that indicate the type of buffer.
/// </summary>
public SecurityBufferType BufferType;
/// <summary>
/// A buffer contains data.
/// </summary>
public byte[] Buffer;
/// <summary>
/// Constructor
/// </summary>
/// <param name="bufferType">SecBuffer type</param>
/// <param name="buffer">SecBuffer in bytes.</param>
public SecurityBuffer(SecurityBufferType bufferType, byte[] buffer)
{
this.BufferType = bufferType;
this.Buffer = buffer;
}
}
}