dissect.target.helpers.magic

Subpackages

Submodules

Re-Exports

Magic

Magic is a helper class for identifying files to a file type by magic bytes.

from_buffer(→ MagicResult)

Detect file type from provided bytes or buffer of bytes.

from_descriptor(→ MagicResult)

Detect file type from a file descriptor or handle.

from_entry(→ MagicResult)

Detect file type from a FilesystemEntry instance.

from_fh

from_file(→ MagicResult)

Detect file type from a Path instance.