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 files60
jamf/cve-2020-1206-pocRevision 9e917e593af3
- ↑..Parent directory
- AD_AND_OR.cs
- AD_IF_RELEVANT.cs
- AD_KDCIssued.cs
- AD_MANDATORY_FOR_KDC.cs
- APOptions.cs
- AP_REP.cs
- AP_REQ.cs
- AS_REP.cs
- AS_REQ.cs
- Authenticator.cs
- AuthorizationData.cs
- AuthorizationDataElement.cs
- Checksum.cs
- ETYPE_INFO.cs
- ETYPE_INFO2.cs
- ETYPE_INFO2_ENTRY.cs
- ETYPE_INFO_ENTRY.cs
- EncAPRepPart.cs
- EncASRepPart.cs
- EncKDCRepPart.cs
- EncKrbCredPart.cs
- EncKrbPrivPart.cs
- EncTGSRepPart.cs
- EncTicketPart.cs
- EncryptedData.cs
- EncryptionKey.cs
- HostAddress.cs
- HostAddresses.cs
- Int32.cs
- KDCOptions.cs
- KDC_REP.cs
- KDC_REQ.cs
- KDC_REQ_BODY.cs
- KRB_CRED.cs
- KRB_ERROR.cs
- KRB_PRIV.cs
- KRB_SAFE.cs
- KRB_SAFE_BODY.cs
- KerberosFlags.cs
- KerberosString.cs
- KerberosTime.cs
- KrbCredInfo.cs
- LastReq.cs
- LastReqElement.cs
- METHOD_DATA.cs
- Microseconds.cs
- PA_DATA.cs
- PA_ENC_TIMESTAMP.cs
- PA_ENC_TS_ENC.cs
- PA_SVR_REFERRAL_DATA.cs
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
ProtoSDK/KerberosLib/Asn1Code/Rfc4120/EncryptedData.cs
C# · 1,258 bytes// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
using Microsoft.Protocols.TestTools.StackSdk.Asn1;
namespace Microsoft.Protocols.TestTools.StackSdk.Security.KerberosLib
{
/*
EncryptedData ::= SEQUENCE {
etype [0] Int32 -- EncryptionType --,
kvno [1] UInt32 OPTIONAL,
cipher [2] OCTET STRING -- ciphertext
}
*/
public class EncryptedData : Asn1Sequence
{
[Asn1Field(0), Asn1Tag(Asn1TagType.Context, 0)]
public KerbInt32 etype { get; set; }
[Asn1Field(1, Optional = true), Asn1Tag(Asn1TagType.Context, 1)]
public KerbInt32 kvno { get; set; }
[Asn1Field(2), Asn1Tag(Asn1TagType.Context, 2)]
public Asn1OctetString cipher { get; set; }
public EncryptedData()
{
this.etype = null;
this.kvno = null;
this.cipher = null;
}
public EncryptedData(
KerbInt32 param0,
KerbInt32 param1,
Asn1OctetString param2)
{
this.etype = param0;
this.kvno = param1;
this.cipher = param2;
}
}
}