Trees | Indices | Help |
|
---|
|
An IOManager which stores everything in files.
We prefer to store the profile file as a gzip compressed file within a versioned directory. For example the profile:
nt/GUID/BF9E190359784C2D8796CF5537B238B42
will be stored in:
$urn/nt/GUID/BF9E190359784C2D8796CF5537B238B42.gz
Where $urn is the path where the DirectoryIOManager was initialized with.
Nested Classes | |
__metaclass__ Automatic Plugin Registration through metaclasses. (Inherited from rekall.io_manager.IOManager) |
|
top_level_class The baseclass for abstracted IO implementations. (Inherited from rekall.io_manager.IOManager) |
Instance Methods | |||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Inherited from |
Class Methods | |||
|
|||
|
Class Variables | |
EXCLUDED_PATH_PREFIX =
|
|
classes =
(Inherited from rekall.io_manager.IOManager)
|
|
classes_by_name =
(Inherited from rekall.io_manager.IOManager)
|
|
order = 100
(Inherited from rekall.io_manager.IOManager)
|
|
plugin_feature =
(Inherited from rekall.io_manager.IOManager)
|
Properties | |
inventory | |
Inherited from |
Method Details |
Initialize the IOManager. Args: urn: The path to the IO manager. This might contain a scheme or protocol specific to a certain IO manager implementation. mode: Can be "r" or "w". session: The session object. pretty_print: If specified we dump sorted yaml data - this ends up being more compressible in reality. version: The required version of the repository. The IOManager is free to implement arbitrary storage for different versions if required. Versioning the repository allows us to update the repository file format transparently without affecting older Rekall versions.
|
Checks the validity of the inventory and if the path exists in it. The inventory is a json object at the root of the repository which lists all the profiles in this repository. It allows us to determine quickly if a profile exists in this repository.
|
Returns metadata about a path.
|
Returns a generator over all the files in this container.
|
Creates a new file in the container. Returns a file like object which should support the context manager protocol. If the file already exists in the container, overwrite it. For example: with self.session.io_manager.Create("foobar") as fd: fd.Write("hello world") Args: name: The name of the new file.
|
Destroys the file/directory at name's path.
|
Opens a container member for reading. This should return a file like object which provides read access to container members. Raises: IOManagerError: If the file is not found.
|
str(x)
|
|
|
Property Details |
inventory
|
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Mon Oct 9 03:27:50 2017 | http://epydoc.sourceforge.net |