dissect.target.loaders.zip¶
Module Contents¶
Classes¶
Zip implementation of a |
|
Generic zip sub loader. |
|
Load zip files. |
Attributes¶
- dissect.target.loaders.zip.ZIP_EXT = ('.zip',)¶
- class dissect.target.loaders.zip.ZipSubLoader(path: pathlib.Path, zipfile: zipfile.Path, **kwargs)¶
Bases:
dissect.target.loader.SubLoader[zipfile.Path]Zip implementation of a
SubLoader.- zip¶
- class dissect.target.loaders.zip.GenericZipSubLoader(path: pathlib.Path, zipfile: zipfile.Path, **kwargs)¶
Bases:
ZipSubLoaderGeneric zip sub loader.
- class dissect.target.loaders.zip.ZipLoader(path: pathlib.Path, **kwargs)¶
Bases:
dissect.target.loader.LoaderLoad zip files.
- __subloaders__¶
- fh¶
- zip¶
- subloader = None¶
- static detect(path: pathlib.Path) bool¶
Detects wether this
Loaderclass can load this specificpath.- Parameters:
path – The target path to check.
- Returns:
Trueif thepathcan be loaded by aLoaderinstance.Falseotherwise.
- map(target: ZipLoader.map.target) None¶
Maps the loaded path into a
Target.- Parameters:
target – The target that we’re mapping into.