pyregfi
Public Member Functions | Static Public Attributes | List of all members
pyregfi.Security Class Reference

Represents a registry SK record which contains a security descriptor. More...

Inheritance diagram for pyregfi.Security:
Inheritance graph
[legend]

Public Member Functions

def next_security (self)
 Loads the "next" Security record in the hive. More...
 
def prev_security (self)
 Loads the "previous" Security record in the hive. More...
 
- Public Member Functions inherited from pyregfi._StructureWrapper
def __eq__ (self, other)
 Test for equality. More...
 

Static Public Attributes

int ref_count = 1
 Number of registry Keys referencing this SK record.
 
int offset = 0xCAFEBABE
 The absolute file offset of the SK record's cell in the Hive file.
 
 descriptor = object()
 The winsec.SecurityDescriptor for this SK record.
 

Detailed Description

Represents a registry SK record which contains a security descriptor.

Member Function Documentation

◆ next_security()

def pyregfi.Security.next_security (   self)

Loads the "next" Security record in the hive.

Note
SK records are included in a circular, doubly-linked list. To iterate over all SK records, be sure to check for the repetition of the SK record you started with to determine when all have been traversed.

References pyregfi._StructureWrapper._base, pyregfi._StructureWrapper._hive, pyregfi._GenericList._hive, and pyregfi.HiveIterator._hive.

◆ prev_security()

def pyregfi.Security.prev_security (   self)

Loads the "previous" Security record in the hive.

Note
SK records are included in a circular, doubly-linked list. To iterate over all SK records, be sure to check for the repetition of the SK record you started with to determine when all have been traversed.

References pyregfi._StructureWrapper._base, pyregfi._StructureWrapper._hive, pyregfi._GenericList._hive, and pyregfi.HiveIterator._hive.


The documentation for this class was generated from the following file: