:py:mod:`dissect.database.ese.ntds.sd` ====================================== .. py:module:: dissect.database.ese.ntds.sd Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: dissect.database.ese.ntds.sd.SecurityDescriptor dissect.database.ese.ntds.sd.ACL dissect.database.ese.ntds.sd.ACE Attributes ~~~~~~~~~~ .. autoapisummary:: dissect.database.ese.ntds.sd.ACE_TYPE dissect.database.ese.ntds.sd.ACE_FLAGS dissect.database.ese.ntds.sd.ACE_OBJECT_FLAGS dissect.database.ese.ntds.sd.ACCESS_MASK dissect.database.ese.ntds.sd.COMPOUND_ACE_TYPE .. py:data:: ACE_TYPE .. py:data:: ACE_FLAGS .. py:data:: ACE_OBJECT_FLAGS .. py:data:: ACCESS_MASK .. py:data:: COMPOUND_ACE_TYPE .. py:class:: SecurityDescriptor(fh: BinaryIO) Parse a security descriptor from a file-like object. :param fh: The file-like object to parse a security descriptor from. .. py:attribute:: header .. py:attribute:: owner :value: None .. py:attribute:: group :value: None .. py:attribute:: sacl :value: None .. py:attribute:: dacl :value: None .. py:method:: __repr__() -> str .. py:class:: ACL(fh: BinaryIO) Parse an ACL from a file-like object. :param fh: The file-like object to parse an ACL from. .. py:attribute:: header .. py:attribute:: ace .. py:method:: __repr__() -> str .. py:property:: revision :type: int Return the ACL revision. .. py:property:: size :type: int Return the ACL size. .. py:class:: ACE(fh: BinaryIO) Parse an ACE from a file-like object. :param fh: The file-like object to parse an ACE from. .. py:attribute:: header .. py:attribute:: data .. py:attribute:: mask :type: ACCESS_MASK | None :value: None .. py:attribute:: sid :type: str | None :value: None .. py:attribute:: object_flags :type: ACE_OBJECT_FLAGS | None :value: None .. py:attribute:: object_type :type: uuid.UUID | None :value: None .. py:attribute:: inherited_object_type :type: uuid.UUID | None :value: None .. py:attribute:: compound_type :type: COMPOUND_ACE_TYPE | None :value: None .. py:attribute:: server_sid :type: str | None :value: None .. py:attribute:: application_data .. py:method:: __repr__() -> str .. py:property:: type :type: ACE_TYPE Return the ACE type. .. py:property:: flags :type: ACE_FLAGS Return the ACE flags. .. py:property:: size :type: int Return the ACE size. .. py:property:: is_standard_ace :type: bool Return whether this ACE is a standard ACE. .. py:property:: is_compound_ace :type: bool Return whether this ACE is a compound ACE. .. py:property:: is_object_ace :type: bool Return whether this ACE is an object ACE.