package
1.15.5
Repository: https://github.com/jummyliu/pkg.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
MarshalGUID 把 []byte 的 objectGUID 转换成可读字符串 生成 guid 时,前三部分字节反转 [0:4]-[4:6]-[6:8]-[8:10]-[10:16].
MarshalSid 把 []byte 的 objectSid 转换成可读字符串 子授权机构数量(不在字符串中显示)Sub-Authority Count:1 S-版本号-授权标识符-子授权机构标识符..
NewAce 创建 Ace.
No description provided by the author
No description provided by the author
NewGuid 把 []byte 的 Guid 转换成 Guid 结构体指针 如果转换失败,则返回错误,并且 Guid 为 nil.
No description provided by the author
NewSid 把 []byte 的 Sid 转换成 Sid 结构体指针 如果转换失败,则返回错误,并且 Sid 为 nil.
RegisterAce 注册 Ace 解析构造函数.
No description provided by the author
No description provided by the author

# Constants

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
AceTypes 仅允许 0x00, 0x01, 0x02, 0x03, 0x11, 0x12, 0x13.
AceTypes 仅允许 0x05, 0x06, 0x07, 0x08, 0x11.
读写SACL权限.
列出自对象的权限.
删除权限.
No description provided by the author
新建子对象的权限.
删除子对象的权限.
删除子对象.
列出对象权限.
读属性.
No description provided by the author
写属性.
所有权限.
列出容器内容的权限.
读.
写.
No description provided by the author
读ntSecurityDescriptor权限(不含SACL).
同步的权限.
修改DACL权限.
所有者的权限.
No description provided by the author
No description provided by the author
实际 GENERIC_ALL 的掩码.
实际 GENERIC_EXECUTE 的掩码.
实际 GENERIC_READ 的掩码.
实际 GENERIC_WRITE 的掩码.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
DC.
DI.
DD.
DP.
PD.
DT.
GD.
OD.
RM.
SC.
SI.
SD.
SP.
PS.
SR.
SS.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Structs

AceHeader Ace 头部信息,定义 Ace 类型和 Ace flags,4个字节 ----------------------------------------------- | 0x00-0x07 | 0x08-0x0F | 0x10-0x17 | 0x18-0x1F | | AceType | AceFlags | AceSize | -----------------------------------------------.
Acl ----------------------------------------------- | 0x00-0x07 | 0x08-0x0F | 0x10-0x17 | 0x18-0x1F | | Revision | Sbz1 | AclSize | | AceCount | Sbz2 | | AceList(variable) | -----------------------------------------------.
DefaultAce 默认 Ace 结构体,只解析 AceHeader.
Guid struct: ------------------------------------------------------------------------------- | 0x00-0x07 | 0x08-0x0F | 0x10-0x17 | 0x18-0x1F | | Data1(4 bytes) | | Data2(2 bytes) | Data3(2 bytes) | | Data4(8 bytes) | ------------------------------------------------------------------------------- string: Data1, Data2, Data3 前三部分字节反转 [0:4]-[4:6]-[6:8]-[8:10]-[10:16].
NtSecurityDescriptor ----------------------------------------------- | 0x00-0x07 | 0x08-0x0F | 0x10-0x17 | 0x18-0x1F | | Revision | Sbz1 | Control | | OffsetOwner | | OffsetGroup | | OffsetSacl | | OffsetDacl | | OwnerSid(variable) | | GroupSid(variable) | | Sacl(variable) | | Dacl(variable) | -----------------------------------------------.
Sid struct: ------------------------------------------------------------------------------- | 0x00-0x07 | 0x08-0x0F | 0x10-0x17 | 0x18-0x1F | | Revision(0x01) | SubAuthorityCount | IdentifierAuthority(6 bytes) | | SubAuthority(variable) | ------------------------------------------------------------------------------- string: 子授权机构数量(不在字符串中显示)SubAuthorityCount S-版本号-授权标识符-子授权机构标识符..

# Interfaces

No description provided by the author

# Type aliases

ACCESS_ALLOWED_OBJECT_ACE, ACCESS_DENIED_OBJECT_ACE 的 flags.
AceConstructor Ace 构造函数签名.
AceFlags ACE Flags.
No description provided by the author
AceType Ace类型.
No description provided by the author
No description provided by the author