< Summary

Class:SharpHoundCommonLib.Enums.LSAPrivileges
Assembly:SharpHoundCommonLib
File(s):D:\a\SharpHoundCommon\SharpHoundCommon\src\CommonLib\Enums\LSAPrivileges.cs
Covered lines:1
Uncovered lines:0
Coverable lines:1
Total lines:52
Line coverage:100% (1 of 1)
Covered branches:0
Total branches:0

Metrics

MethodBranch coverage Cyclomatic complexity NPath complexity Sequence coverage
.cctor()100%10100%

File(s)

D:\a\SharpHoundCommon\SharpHoundCommon\src\CommonLib\Enums\LSAPrivileges.cs

#LineLine coverage
 1namespace SharpHoundCommonLib.Enums
 2{
 3    public class LSAPrivileges
 4    {
 5        public const string AssignPrimaryToken = "SeAssignPrimaryTokenPrivilege";
 6        public const string Audit = "SeAuditPrivilege";
 7        public const string Backup = "SeBackupPrivilege";
 8        public const string BatchLogon = "SeBatchLogonRight";
 9        public const string ChangeNotify = "SeChangeNotifyPrivilege";
 10        public const string CreateGlobal = "SeCreateGlobalPrivilege";
 11        public const string CreatePagefile = "SeCreatePagefilePrivilege";
 12        public const string CreatePermanent = "SeCreatePermanentPrivilege";
 13        public const string CreateSymbolicLink = "SeCreateSymbolicLinkPrivilege";
 14        public const string CreateToken = "SeCreateTokenPrivilege";
 15        public const string Debug = "SeDebugPrivilege";
 16        public const string DenyBatchLogon = "SeDenyBatchLogonRight";
 17        public const string DenyInteractiveLogon = "SeDenyInteractiveLogonRight";
 18        public const string DenyNetworkLogon = "SeDenyNetworkLogonRight";
 19        public const string DenyRemoteInteractiveLogon = "SeDenyRemoteInteractiveLogonRight";
 20        public const string DenyServiceLogon = "SeDenyServiceLogonRight";
 21        public const string EnableDelegation = "SeEnableDelegationPrivilege";
 22        public const string Impersonate = "SeImpersonatePrivilege";
 23        public const string IncreaseBasePriority = "SeIncreaseBasePriorityPrivilege";
 24        public const string IncreaseQuota = "SeIncreaseQuotaPrivilege";
 25        public const string IncreaseWorkingSet = "SeIncreaseWorkingSetPrivilege";
 26        public const string InteractiveLogon = "SeInteractiveLogonRight";
 27        public const string LoadDriver = "SeLoadDriverPrivilege";
 28        public const string LockMemory = "SeLockMemoryPrivilege";
 29        public const string MachineAccount = "SeMachineAccountPrivilege";
 30        public const string ManageVolume = "SeManageVolumePrivilege";
 31        public const string NetworkLogon = "SeNetworkLogonRight";
 32        public const string ProfileSingleProcess = "SeProfileSingleProcessPrivilege";
 33        public const string Relabel = "SeRelabelPrivilege";
 34        public const string RemoteInteractiveLogon = "SeRemoteInteractiveLogonRight";
 35        public const string RemoteShutdown = "SeRemoteShutdownPrivilege";
 36        public const string Restore = "SeRestorePrivilege";
 37        public const string Security = "SeSecurityPrivilege";
 38        public const string ServiceLogon = "SeServiceLogonRight";
 39        public const string Shutdown = "SeShutdownPrivilege";
 40        public const string SyncAgent = "SeSyncAgentPrivilege";
 41        public const string SystemEnvironment = "SeSystemEnvironmentPrivilege";
 42        public const string SystemProfile = "SeSystemProfilePrivilege";
 43        public const string SystemTime = "SeSystemtimePrivilege";
 44        public const string TakeOwnership = "SeTakeOwnershipPrivilege";
 45        public const string Tcb = "SeTcbPrivilege";
 46        public const string TimeZone = "SeTimeZonePrivilege";
 47        public const string TrustedCredManAccess = "SeTrustedCredManAccessPrivilege";
 48        public const string Undock = "SeUndockPrivilege";
 49
 150        public static readonly string[] DesiredPrivileges = {RemoteInteractiveLogon};
 51    }
 52}

Methods/Properties

.cctor()