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 files19
jamf/cve-2020-1206-pocRevision 9e917e593af3
- ↑..Parent directory
- CommonMessages.cs
- Connection.cs
- FileAccessCollection.cs
- FileAccessService.csproj
- FileServiceClientContext.cs
- FileServiceClientTransport.cs
- FileServiceServerConnection.cs
- FileServiceServerContext.cs
- FileServiceServerOpen.cs
- FileServiceServerSession.cs
- FileServiceServerTransport.cs
- FileServiceServerTreeConnect.cs
- FileServiceUtils.cs
- Open.cs
- Session.cs
- Share.cs
- SmbFamilyPacket.cs
- TreeConnect.cs
- Types.cs
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
ProtoSDK/FileAccessService/FileServiceServerSession.cs
C# · 1,871 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 Microsoft.Protocols.TestTools.StackSdk.Security.Sspi;
using System.Collections.ObjectModel;
namespace Microsoft.Protocols.TestTools.StackSdk.FileAccessService
{
/// <summary>
/// An authenticated context that is established between am SMB 2.0
/// Protocol client and an SMB 2.0 Protocol server over an SMB 2.0
/// Protocol connection for a specific security principal. There
/// could be multiple active sessions over a single SMB 2.0 Protocol
/// connection. The SessionId field distinguishes the various sessions.
/// </summary>
public interface IFileServiceServerSession
{
#region Properties
/// <summary>
/// The connection associated with this session.
/// </summary>
IFileServiceServerConnection Connection
{
get;
}
/// <summary>
/// The 16-byte session key associated with this session, as obtained from the authentication packages
/// after successful authentication.
/// </summary>
byte[] SessionKey
{
get;
}
/// <summary>
/// The 16-byte session key associated with this session which is used in SMB only.
/// </summary>
byte[] SessionKey4Smb
{
get;
}
/// <summary>
/// All the tree connects in this session.
/// </summary>
ReadOnlyCollection<IFileServiceServerTreeConnect> TreeConnectTable
{
get;
}
/// <summary>
/// Session Id of the Session
/// </summary>
long SessionId
{
get;
}
#endregion
}
}