dissect.target.loaders.uac¶
Module Contents¶
Classes¶
Loader for extracted UAC collections. |
|
Loader for tar-based UAC collections. |
|
Loader for zip-based UAC collections. |
Attributes¶
- dissect.target.loaders.uac.log¶
- dissect.target.loaders.uac.FILESYSTEMS_ROOT = '[root]'¶
- dissect.target.loaders.uac.UAC_CHECK_FILE = 'uac.log'¶
- class dissect.target.loaders.uac.UacLoader(path: pathlib.Path, *, parsed_path: urllib.parse.ParseResult | None = None, resolve: bool = True, **kwargs)¶
Bases:
dissect.target.loader.LoaderLoader for extracted UAC collections.
References
- 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: 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.uac.UacTarSubloader(path: pathlib.Path, tar: tarfile.TarFile, **kwargs)¶
Bases:
dissect.target.loaders.tar.TarSubLoaderLoader for tar-based UAC collections.
References
- FS_ROOT_TUPLE¶
- static detect(path: pathlib.Path, tarfile: tarfile.TarFile) bool¶
Only to be called internally by
TarLoader.
- map(target: dissect.target.target.Target) None¶
Only to be called internally by
TarLoader.
- class dissect.target.loaders.uac.UacZipSubLoader(path: pathlib.Path, zipfile: zipfile.Path, **kwargs)¶
Bases:
dissect.target.loaders.zip.ZipSubLoaderLoader for zip-based UAC collections.
References
- static detect(path: pathlib.Path, zipfile: zipfile.Path) bool¶
Only to be called internally by
ZipLoader.
- map(target: dissect.target.target.Target) None¶
Only to be called internally by
ZipLoader.