MCPcopy Create free account
hub / github.com/ELMERIKH/PyinMemoryPE / dacl

Method dacl

windows/security.py:778–789  ·  view source on GitHub ↗

The DACL of the security descriptor. :type: :class:`Acl` or ``None`` if the DACL was ``NULL`` or not present

(self)

Source from the content-addressed store, hash-verified

776
777 @property
778 def dacl(self):
779 """The DACL of the security descriptor.
780
781 :type: :class:`Acl` or ``None`` if the DACL was ``NULL`` or not present
782 """
783 dacl_present = gdef.BOOL()
784 pdacl = gdef.PACL()
785 lpbDaclDefaulted = gdef.BOOL()
786 winproxy.GetSecurityDescriptorDacl(self, dacl_present, pdacl, lpbDaclDefaulted)
787 if not dacl_present or not pdacl:
788 return None
789 return ctypes.cast(pdacl, PAcl)[0]
790
791 @property
792 def sacl(self):

Callers

nothing calls this directly

Calls 1

castMethod · 0.80

Tested by

no test coverage detected