dissect.target.filesystems.itunes
#
Module Contents#
Classes#
Base class for filesystems. |
|
Virtual file backed by a file-like object. |
|
Transparently decrypted AES-CBC decrypted stream. |
- class dissect.target.filesystems.itunes.ITunesFilesystem(backup, *args, **kwargs)#
Bases:
dissect.target.filesystem.VirtualFilesystem
Base class for filesystems.
- static detect(fh)#
Detect whether the
fh
file-handle contains a Filesystem implementation.- Parameters:
fh – A file-like object, usually an image of a disk.
- Returns:
True
iffh
contains the filesystem,False
otherwise.
- class dissect.target.filesystems.itunes.ITunesFile(fs: Filesystem, path: str, entry: FilesystemEntry)#
Bases:
dissect.target.filesystem.VirtualFile
Virtual file backed by a file-like object.
- open()#
Open this filesystem entry.
- Returns:
A file-like object. Resolves symlinks when possible
- stat()#
Determine the stat information of this entry, resolving any symlinks.
If the entry is a symlink, it gets resolved, attempting to stat the path where to points to.
- Returns:
The stat information of this entry.
- class dissect.target.filesystems.itunes.EncryptedFileStream(file_info)#
Bases:
dissect.util.stream.AlignedStream
Transparently decrypted AES-CBC decrypted stream.