|
pyregfi
|
Represents a single registry hive (file). More...
Public Member Functions | |
| __init__ (self, fh) | |
| Constructor. | |
| subtree (self, path) | |
| Creates a HiveIterator initialized at the specified path in the hive. | |
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).
| 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.Key._base, pyregfi.Security._base, _fh, file, pyregfi.getLogMessages(), and raw_file.
| 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 |