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 files15
jamf/cve-2020-1206-pocRevision 9e917e593af3
- ↑..Parent directory
- Smb2Lease.cs
- Smb2LeaseTable.cs
- Smb2Server.cs
- Smb2ServerChannel.cs
- Smb2ServerConfig.cs
- Smb2ServerConnection.cs
- Smb2ServerContext.cs
- Smb2ServerGlobal.cs
- Smb2ServerLease.cs
- Smb2ServerLeaseTable.cs
- Smb2ServerOpen.cs
- Smb2ServerRequest.cs
- Smb2ServerSession.cs
- Smb2ServerShare.cs
- Smb2ServerTreeConnect.cs
Files from this repository share one source choice. Supporting files may cover other vulnerabilities.
ProtoSDK/MS-SMB2/Server/Smb2ServerGlobal.cs
C# · 1,296 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.Collections.Generic;
namespace Microsoft.Protocols.TestTools.StackSdk.FileAccessService.Smb2
{
public class Smb2ServerGlobal
{
public bool RequireMessageSigning;
// ServerEnabled
public Dictionary<string, Smb2ServerShare> ShareList;
public Dictionary<ulong, Smb2ServerOpen> GlobalOpenTable;
public Dictionary<ulong, Smb2ServerSession> GlobalSessionTable;
public Dictionary<string, Smb2ServerConnection> ConnectionList;
// ServerGuid
// ServerStartTime
public bool IsDfsCapable;
public uint ServerSideCopyMaxNumberofChunks;
public uint ServerSideCopyMaxChunkSize;
public uint ServerSideCopyMaxDataSize;
// -------
// SMB 2.1
// -------
public ServerHashLevel ServerHashLevel;
public Dictionary<Guid, Smb2ServerLeaseTable> GlobalLeaseTableList;
public uint MaxResiliencyTimeout;
// ResilientOpenScavengerExpiryTime
}
public enum ServerHashLevel
{
HashEnableAll,
HashDisableAll,
HashEnableShare
}
}