MCPcopy Create free account
hub / github.com/Synzack/ldapper / getDACL

Function getDACL

SecurityDescriptor/SecurityDescriptorFuncs.go:167–172  ·  view source on GitHub ↗
(header *HEADER, sd string)

Source from the content-addressed store, hash-verified

165}
166
167func getDACL(header *HEADER, sd string) (DACL string) {
168 offset := hexToOffset(header.OffsetDacl)
169 DACL = sd[offset:]
170
171 return
172}
173
174func getACE(rawACE string) (ACE string) {
175 aceLengthBytes, _ := strconv.Atoi(hexToDecimalString(endianConvert(rawACE[4:8])))

Callers 1

ParseSDFunction · 0.85

Calls 1

hexToOffsetFunction · 0.85

Tested by

no test coverage detected