|
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. | |
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.Security._base, pyregfi.Key._base, pyregfi.Hive._fh, pyregfi.Hive.file, pyregfi.getLogMessages(), and pyregfi.Hive.raw_file.
| pyregfi.Hive.subtree | ( | self, | |
| path | |||
| ) |
Creates a HiveIterator initialized at the specified path in the hive.
| path | A list of Key names which represent an absolute path within the Hive |
| Exception | If the path could not be found/traversed |