pyregfi
|
Represents a single registry hive (file) More...
Public Member Functions | |
def | __init__ (self, fh) |
Constructor. More... | |
def | subtree (self, path) |
Creates a HiveIterator initialized at the specified path in the hive. More... | |
Static Public Attributes | |
root = None | |
The root Key of this Hive. | |
float | modified = 1300000000.123456 |
This Hives's last modified time represented as the number of seconds since the UNIX epoch in UTC; similar to what time.time() returns. | |
int | sequence1 = 12345678 |
First sequence number. | |
int | sequence2 = 12345678 |
Second sequence number. | |
int | major_version = 1 |
Major version. | |
int | minor_version = 5 |
Minor version. | |
Represents a single registry hive (file)
def pyregfi.Hive.__init__ | ( | self, | |
fh | |||
) |
Constructor.
Initialize a new Hive based on a Python file object. To open a file by path, see openHive.
fh | A Python file object. The constructor first looks for a valid fileno attribute on this object and uses it if possible. Otherwise, the seek and read methods are used for file access. |
References pyregfi._StructureWrapper._base, pyregfi.Hive._fh, pyregfi.Hive.file, pyregfi.getLogMessages(), and pyregfi.Hive.raw_file.
def pyregfi.Hive.subtree | ( | self, | |
path | |||
) |
Creates a HiveIterator initialized at the specified path in the hive.
Exception | If the path could not be found/traversed |