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/Smb2ServerShare.cs
C# · 1,082 bytes// Copyright (c) Microsoft. All rights reserved.
// Licensed under the MIT license. See LICENSE file in the project root for full license information.
namespace Microsoft.Protocols.TestTools.StackSdk.FileAccessService.Smb2
{
public class Smb2ServerShare
{
public string Name;
public string ServerName;
public string LocalPath;
public string ConnectionSecurity;
public string FileSecurity;
public CscFlags CscFlags;
public bool IsDfs;
public bool DoAccessBasedDirectoryEnumeration;
public bool AllowNamespaceCaching;
public bool ForceSharedDelete;
public bool RestrictExclusiveOpens;
public uint MaxUsers;
public uint CurrentUsers;
public bool ForceLevel2Oplock;
public bool HashEnabled;
// --------
// SMB2.2
// --------
public bool IsCA;
}
public enum CscFlags
{
ManualCaching,
AutomaticCachingFiles,
AutomaticCachingFilesPrograms,
NoOfflineCaching
}
}