dissect.target.loaders.ab
¶
Module Contents¶
Classes¶
Load Android backup files. |
|
Transparently AES-CBC decrypted stream. |
Functions¶
Attributes¶
- dissect.target.loaders.ab.HAS_PYCRYPTODOME = True¶
- dissect.target.loaders.ab.DIRECTORY_MAPPING¶
- class dissect.target.loaders.ab.AndroidBackupLoader(path: pathlib.Path, **kwargs)¶
Bases:
dissect.target.loader.Loader
Load Android backup files.
References
- ab¶
- static detect(path: pathlib.Path) bool ¶
Detects wether this
Loader
class can load this specificpath
.- Parameters:
path – The target path to check.
- Returns:
True
if thepath
can be loaded by aLoader
instance.False
otherwise.
- map(target: dissect.target.target.Target) None ¶
Maps the loaded path into a
Target
.- Parameters:
target – The target that we’re mapping into.
- class dissect.target.loaders.ab.AndroidBackup(fh: BinaryIO)¶
- fh¶
- version¶
- compressed¶
- encrypted = False¶
- unlocked = True¶
- encryption¶
- size¶
- unlock(password: str) None ¶
- open() BinaryIO ¶
- class dissect.target.loaders.ab.CipherStream(fh: BinaryIO, key: bytes, iv: bytes, size: int)¶
Bases:
dissect.util.stream.AlignedStream
Transparently AES-CBC decrypted stream.
- dissect.target.loaders.ab.main() None ¶