elevate

package
v0.0.0-...-5e03993 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SE_IMPERSONATE          = "SeImpersonatePrivilege"
	SE_ASSIGN_PRIMARY_TOKEN = "SeAssignPrimaryToken"
	SE_INCREASE_QUOTE_NAME  = "SeIncreaseQuoteName"
	SECPKG_CRED_INBOUND     = 0x00000001
	SECBUFFER_VERSION       = 0x00000000
	SECBUFFER_TOKEN         = 0x00000002
	CREATE_NEW_CONSOLE      = 0x00000010
	ASC_REQ_ALLOCATE_MEMORY = 0x00000100
	ASC_REQ_CONNECTION      = 0x00000800
	SECURITY_NATIVE_DREP    = 0x00000010
	SecurityImpersonation   = 0x00000002
)

Variables

This section is empty.

Functions

func CheckPriv

func CheckPriv() bool

func EnablePrivilege

func EnablePrivilege(securityEntity string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL