:py:mod:`dissect.target.loaders.uac` ==================================== .. py:module:: dissect.target.loaders.uac Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: dissect.target.loaders.uac.UacLoader dissect.target.loaders.uac.UacTarSubloader dissect.target.loaders.uac.UacZipSubLoader Attributes ~~~~~~~~~~ .. autoapisummary:: dissect.target.loaders.uac.log dissect.target.loaders.uac.FILESYSTEMS_ROOT dissect.target.loaders.uac.UAC_CHECK_FILE .. py:data:: log .. py:data:: FILESYSTEMS_ROOT :value: '[root]' .. py:data:: UAC_CHECK_FILE :value: 'uac.log' .. py:class:: UacLoader(path: pathlib.Path, *, parsed_path: urllib.parse.ParseResult | None = None, resolve: bool = True, **kwargs) Bases: :py:obj:`dissect.target.loader.Loader` Loader for extracted UAC collections. .. rubric:: References - https://github.com/tclahr/uac - https://tclahr.github.io/uac-docs/ .. py:method:: detect(path: pathlib.Path) -> bool :staticmethod: Detects wether this ``Loader`` class can load this specific ``path``. :param path: The target path to check. :returns: ``True`` if the ``path`` can be loaded by a ``Loader`` instance. ``False`` otherwise. .. py:method:: map(target: dissect.target.target.Target) -> None Maps the loaded path into a ``Target``. :param target: The target that we're mapping into. .. py:class:: UacTarSubloader(path: pathlib.Path, tar: tarfile.TarFile, **kwargs) Bases: :py:obj:`dissect.target.loaders.tar.TarSubLoader` Loader for tar-based UAC collections. .. rubric:: References - https://github.com/tclahr/uac - https://tclahr.github.io/uac-docs/ .. py:attribute:: FS_ROOT_TUPLE .. py:method:: detect(path: pathlib.Path, tarfile: tarfile.TarFile) -> bool :staticmethod: Only to be called internally by :class:`TarLoader`. .. py:method:: map(target: dissect.target.target.Target) -> None Only to be called internally by :class:`TarLoader`. .. py:class:: UacZipSubLoader(path: pathlib.Path, zipfile: zipfile.Path, **kwargs) Bases: :py:obj:`dissect.target.loaders.zip.ZipSubLoader` Loader for zip-based UAC collections. .. rubric:: References - https://github.com/tclahr/uac - https://tclahr.github.io/uac-docs/ .. py:method:: detect(path: pathlib.Path, zipfile: zipfile.Path) -> bool :staticmethod: Only to be called internally by :class:`ZipLoader`. .. py:method:: map(target: dissect.target.target.Target) -> None Only to be called internally by :class:`ZipLoader`.