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 files188
jamf/cve-2020-1206-pocRevision 9e917e593af3
- ↑..Parent directory
- FsccEmptyPacket.cs
- FsccErrorPacket.cs
- FsccFileAccessInformationRequestPacket.cs
- FsccFileAccessInformationResponsePacket.cs
- FsccFileAlignmentInformationRequestPacket.cs
- FsccFileAlignmentInformationResponsePacket.cs
- FsccFileAllInformationRequestPacket.cs
- FsccFileAllInformationResponsePacket.cs
- FsccFileAllocationInformationRequestPacket.cs
- FsccFileAllocationInformationResponsePacket.cs
- FsccFileAlternateNameInformationRequestPacket.cs
- FsccFileAlternateNameInformationResponsePacket.cs
- FsccFileAttributeTagInformationRequestPacket.cs
- FsccFileAttributeTagInformationResponsePacket.cs
- FsccFileBasicInformationRequestPacket.cs
- FsccFileBasicInformationResponsePacket.cs
- FsccFileBothDirectoryInformationRequestPacket.cs
- FsccFileBothDirectoryInformationResponsePacket.cs
- FsccFileCompressionInformationRequestPacket.cs
- FsccFileCompressionInformationResponsePacket.cs
- FsccFileDirectoryInformationRequestPacket.cs
- FsccFileDirectoryInformationResponsePacket.cs
- FsccFileDispositionInformationRequestPacket.cs
- FsccFileDispositionInformationResponsePacket.cs
- FsccFileEaInformationRequestPacket.cs
- FsccFileEaInformationResponsePacket.cs
- FsccFileEndOfFileInformationRequestPacket.cs
- FsccFileEndOfFileInformationResponsePacket.cs
- FsccFileFsAttributeInformationRequestPacket.cs
- FsccFileFsAttributeInformationResponsePacket.cs
- FsccFileFsControlInformationRequestPacket.cs
- FsccFileFsControlInformationResponsePacket.cs
- FsccFileFsDeviceInformationRequestPacket.cs
- FsccFileFsDeviceInformationResponsePacket.cs
- FsccFileFsDriverPathInformationRequestPacket.cs
- FsccFileFsDriverPathInformationResponsePacket.cs
- FsccFileFsFullSizeInformationRequestPacket.cs
- FsccFileFsFullSizeInformationResponsePacket.cs
- FsccFileFsLabelInformationRequestPacket.cs
- FsccFileFsLabelInformationResponsePacket.cs
- FsccFileFsObjectIdInformationRequestPacket.cs
- FsccFileFsObjectIdInformationResponsePacket.cs
- FsccFileFsSectorSizeInformationRequestPacket.cs
- FsccFileFsSectorSizeInformationResponsePacket.cs
- FsccFileFsSizeInformationRequestPacket.cs
- FsccFileFsSizeInformationResponsePacket.cs
- FsccFileFsVolumeFlagsInformationRequestPacket.cs
- FsccFileFsVolumeFlagsInformationResponsePacket.cs
- FsccFileFsVolumeInformationRequestPacket.cs
- FsccFileFsVolumeInformationResponsePacket.cs
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
ProtoSDK/MS-FSCC/Messages/FsccErrorPacket.cs
C# · 1,928 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;
namespace Microsoft.Protocols.TestTools.StackSdk.FileAccessService.Fscc
{
/// <summary>
/// error packet of fscc, provide a uint status value.
/// </summary>
public class FsccErrorPacket : FsccPacket
{
#region Properties
/// <summary>
/// the error status of fscc packet
/// </summary>
private uint status;
/// <summary>
/// the error status of fscc packet
/// </summary>
public uint Status
{
get
{
return this.status;
}
set
{
this.status = value;
}
}
/// <summary>
/// the command of fscc packet
/// </summary>
public override uint Command
{
get
{
return 0x00;
}
}
#endregion
#region Constructors
/// <summary>
/// default constructor
/// </summary>
public FsccErrorPacket()
: base()
{
}
#endregion
#region Marshaling and Unmarshaling Methods
/// <summary>
/// marshaling this packet to bytes.
/// </summary>
/// <returns>the bytes of this packet </returns>
public override byte[] ToBytes()
{
return BitConverter.GetBytes(this.status);
}
/// <summary>
/// unmarshaling packet from bytes
/// </summary>
/// <param name = "packetBytes">the bytes of packet </param>
public override void FromBytes(byte[] packetBytes)
{
this.status = BitConverter.ToUInt32(packetBytes, 0);
}
#endregion
}
}