dissect.hypervisor 3.20.dev1__py3-none-any.whl → 3.20.dev2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- dissect/hypervisor/disk/c_asif.pyi +1 -2
- dissect/hypervisor/disk/c_qcow2.pyi +1 -2
- dissect/hypervisor/disk/vhdx.py +2 -2
- dissect/hypervisor/util/vmtar.py +2 -2
- {dissect_hypervisor-3.20.dev1.dist-info → dissect_hypervisor-3.20.dev2.dist-info}/METADATA +3 -4
- {dissect_hypervisor-3.20.dev1.dist-info → dissect_hypervisor-3.20.dev2.dist-info}/RECORD +11 -11
- {dissect_hypervisor-3.20.dev1.dist-info → dissect_hypervisor-3.20.dev2.dist-info}/WHEEL +0 -0
- {dissect_hypervisor-3.20.dev1.dist-info → dissect_hypervisor-3.20.dev2.dist-info}/entry_points.txt +0 -0
- {dissect_hypervisor-3.20.dev1.dist-info → dissect_hypervisor-3.20.dev2.dist-info}/licenses/COPYRIGHT +0 -0
- {dissect_hypervisor-3.20.dev1.dist-info → dissect_hypervisor-3.20.dev2.dist-info}/licenses/LICENSE +0 -0
- {dissect_hypervisor-3.20.dev1.dist-info → dissect_hypervisor-3.20.dev2.dist-info}/top_level.txt +0 -0
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
# Generated by cstruct-stubgen
|
|
2
|
-
from typing import BinaryIO, Literal, overload
|
|
2
|
+
from typing import BinaryIO, Literal, TypeAlias, overload
|
|
3
3
|
|
|
4
4
|
import dissect.cstruct as __cs__
|
|
5
|
-
from typing_extensions import TypeAlias
|
|
6
5
|
|
|
7
6
|
class _c_asif(__cs__.cstruct):
|
|
8
7
|
ASIF_HEADER_SIGNATURE: Literal[1936221303] = ...
|
|
@@ -1,8 +1,7 @@
|
|
|
1
1
|
# Generated by cstruct-stubgen
|
|
2
|
-
from typing import BinaryIO, Literal, overload
|
|
2
|
+
from typing import BinaryIO, Literal, TypeAlias, overload
|
|
3
3
|
|
|
4
4
|
import dissect.cstruct as __cs__
|
|
5
|
-
from typing_extensions import TypeAlias
|
|
6
5
|
|
|
7
6
|
class _c_qcow2(__cs__.cstruct):
|
|
8
7
|
MIN_CLUSTER_BITS: Literal[9] = ...
|
dissect/hypervisor/disk/vhdx.py
CHANGED
|
@@ -7,7 +7,7 @@ import logging
|
|
|
7
7
|
import os
|
|
8
8
|
from functools import lru_cache
|
|
9
9
|
from pathlib import Path
|
|
10
|
-
from typing import TYPE_CHECKING, Any, BinaryIO,
|
|
10
|
+
from typing import TYPE_CHECKING, Any, BinaryIO, Final
|
|
11
11
|
from uuid import UUID
|
|
12
12
|
|
|
13
13
|
from dissect.util.stream import AlignedStream
|
|
@@ -29,7 +29,7 @@ from dissect.hypervisor.disk.c_vhdx import (
|
|
|
29
29
|
from dissect.hypervisor.exceptions import InvalidSignature, InvalidVirtualDisk
|
|
30
30
|
|
|
31
31
|
if TYPE_CHECKING:
|
|
32
|
-
from collections.abc import Iterator
|
|
32
|
+
from collections.abc import Callable, Iterator
|
|
33
33
|
|
|
34
34
|
log = logging.getLogger(__name__)
|
|
35
35
|
log.setLevel(os.getenv("DISSECT_LOG_VHDX", "CRITICAL"))
|
dissect/hypervisor/util/vmtar.py
CHANGED
|
@@ -62,12 +62,12 @@ class VisorTarFile(tarfile.TarFile):
|
|
|
62
62
|
raise tarfile.TarError("visor currently only supports read mode")
|
|
63
63
|
|
|
64
64
|
try:
|
|
65
|
-
from gzip import GzipFile
|
|
65
|
+
from gzip import GzipFile # noqa: PLC0415
|
|
66
66
|
except ImportError:
|
|
67
67
|
raise tarfile.CompressionError("gzip module is not available") from None
|
|
68
68
|
|
|
69
69
|
try:
|
|
70
|
-
from lzma import LZMAError, LZMAFile
|
|
70
|
+
from lzma import LZMAError, LZMAFile # noqa: PLC0415
|
|
71
71
|
except ImportError:
|
|
72
72
|
raise tarfile.CompressionError("lzma module is not available") from None
|
|
73
73
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dissect.hypervisor
|
|
3
|
-
Version: 3.20.
|
|
3
|
+
Version: 3.20.dev2
|
|
4
4
|
Summary: A Dissect module implementing parsers for various hypervisor disk, backup and configuration files
|
|
5
5
|
Author-email: Dissect Team <dissect@fox-it.com>
|
|
6
|
-
License:
|
|
6
|
+
License-Expression: AGPL-3.0-or-later
|
|
7
7
|
Project-URL: homepage, https://dissect.tools
|
|
8
8
|
Project-URL: documentation, https://docs.dissect.tools/en/latest/projects/dissect.hypervisor
|
|
9
9
|
Project-URL: repository, https://github.com/fox-it/dissect.hypervisor
|
|
@@ -11,14 +11,13 @@ Classifier: Development Status :: 5 - Production/Stable
|
|
|
11
11
|
Classifier: Environment :: Console
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
13
|
Classifier: Intended Audience :: Information Technology
|
|
14
|
-
Classifier: License :: OSI Approved
|
|
15
14
|
Classifier: Operating System :: OS Independent
|
|
16
15
|
Classifier: Programming Language :: Python :: 3
|
|
17
16
|
Classifier: Topic :: Internet :: Log Analysis
|
|
18
17
|
Classifier: Topic :: Scientific/Engineering :: Information Analysis
|
|
19
18
|
Classifier: Topic :: Security
|
|
20
19
|
Classifier: Topic :: Utilities
|
|
21
|
-
Requires-Python:
|
|
20
|
+
Requires-Python: >=3.10
|
|
22
21
|
Description-Content-Type: text/markdown
|
|
23
22
|
License-File: LICENSE
|
|
24
23
|
License-File: COPYRIGHT
|
|
@@ -10,10 +10,10 @@ dissect/hypervisor/descriptor/vmx.py,sha256=6xhX7RlDqyn9XBkiq2NnQ5LrLL0nXwiPGOPy
|
|
|
10
10
|
dissect/hypervisor/disk/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
11
|
dissect/hypervisor/disk/asif.py,sha256=-HIXnoG8uFGTFj58kTRayVUqWtIPPKF04xMpiOYBL18,10840
|
|
12
12
|
dissect/hypervisor/disk/c_asif.py,sha256=bVjbXy6icCLY6-v2zZ22xnOsHdupnO4oOAmyuZx13lU,878
|
|
13
|
-
dissect/hypervisor/disk/c_asif.pyi,sha256=
|
|
13
|
+
dissect/hypervisor/disk/c_asif.pyi,sha256=XlFattLWlcRLQTCCzKThgANsW9JwUOi_utWjPr7pXyI,2814
|
|
14
14
|
dissect/hypervisor/disk/c_hdd.py,sha256=wrJ5qwyf7QCZ3Pl-I8eYDR4CUUo4pAFhjzs8huRGqs8,2235
|
|
15
15
|
dissect/hypervisor/disk/c_qcow2.py,sha256=jOr2fQmDQuegbE1qDX2x2xaA4RS0LKMsOCI5UwKJxhg,5071
|
|
16
|
-
dissect/hypervisor/disk/c_qcow2.pyi,sha256=
|
|
16
|
+
dissect/hypervisor/disk/c_qcow2.pyi,sha256=OAEQzYoexjUpyApO0I-JQe22qBPzej_KC4r_77jAo3U,7867
|
|
17
17
|
dissect/hypervisor/disk/c_vdi.py,sha256=lKk5MnCImdfyUyGDe_yY_ntLd1ITkKEvMGIMCHiHC2w,3843
|
|
18
18
|
dissect/hypervisor/disk/c_vhd.py,sha256=gYOwOdvhMKNLflugkpjmdn__ZUJBlxeByx6P0ePNQ00,1493
|
|
19
19
|
dissect/hypervisor/disk/c_vhdx.py,sha256=4yNU51jfYPEBFXEZAvaF8cFdHBRlmCe_OU5ZU83-kco,2920
|
|
@@ -22,18 +22,18 @@ dissect/hypervisor/disk/hdd.py,sha256=ChKtQIQrssIgZyUv86JE9-n4XdjDT14pc6EO6mZllQ
|
|
|
22
22
|
dissect/hypervisor/disk/qcow2.py,sha256=j7GSgzYceSq6Nx7vw4M7Cm5irKqGDql1t9apl2gC1FY,24509
|
|
23
23
|
dissect/hypervisor/disk/vdi.py,sha256=Ezm_vmi6ZKLTgPx5chXmtBzkBOCxilBWUrdqQdq_4KA,1958
|
|
24
24
|
dissect/hypervisor/disk/vhd.py,sha256=GfEfFp5g8OlV0MrTXqSfBRzMMvIZO_T1A8d05SeGiBk,3948
|
|
25
|
-
dissect/hypervisor/disk/vhdx.py,sha256=
|
|
25
|
+
dissect/hypervisor/disk/vhdx.py,sha256=kgxS81oG4J3RPsDput-t3QhbF1vDCdjfPqY__sWbX6g,13215
|
|
26
26
|
dissect/hypervisor/disk/vmdk.py,sha256=s23a8Gs_kemy4ZKYuJYXYCFckZtYgeZ7Rmrgxpj5W7s,19565
|
|
27
27
|
dissect/hypervisor/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
28
28
|
dissect/hypervisor/tools/envelope.py,sha256=BvaBSoXq3VrZ2GJVrfnL8NB6OLbdp8qD05jedxSAKwQ,1024
|
|
29
29
|
dissect/hypervisor/tools/vmtar.py,sha256=bAf_rEhqUmeI8my22p7L9uV3SgB5C_61YQKfD3tNo60,476
|
|
30
30
|
dissect/hypervisor/util/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
31
31
|
dissect/hypervisor/util/envelope.py,sha256=EhZjZh3EezqxkJ84OgqpptHIhpVWPcUkFMjdYU-iAnU,10442
|
|
32
|
-
dissect/hypervisor/util/vmtar.py,sha256=
|
|
33
|
-
dissect_hypervisor-3.20.
|
|
34
|
-
dissect_hypervisor-3.20.
|
|
35
|
-
dissect_hypervisor-3.20.
|
|
36
|
-
dissect_hypervisor-3.20.
|
|
37
|
-
dissect_hypervisor-3.20.
|
|
38
|
-
dissect_hypervisor-3.20.
|
|
39
|
-
dissect_hypervisor-3.20.
|
|
32
|
+
dissect/hypervisor/util/vmtar.py,sha256=pktC1mZIhh1E2uSyb2Z_pvn9H9LebJ6hTmZlYcdGrOA,4038
|
|
33
|
+
dissect_hypervisor-3.20.dev2.dist-info/licenses/COPYRIGHT,sha256=EOOoIwk_inOMUD4c1ylpzMtYLjGzmc-MLEVAEdLLr20,305
|
|
34
|
+
dissect_hypervisor-3.20.dev2.dist-info/licenses/LICENSE,sha256=DZak_2itbUtvHzD3E7GNUYSRK6jdOJ-GqncQ2weavLA,34523
|
|
35
|
+
dissect_hypervisor-3.20.dev2.dist-info/METADATA,sha256=_szrTasO-dTqofQuXnvKqetve_02e4UXod-3ZDdXU6A,3395
|
|
36
|
+
dissect_hypervisor-3.20.dev2.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
37
|
+
dissect_hypervisor-3.20.dev2.dist-info/entry_points.txt,sha256=kW36GnJ3G1dSRYFL4r8Bj32Al_CkGqST3bdHvo3pyiY,120
|
|
38
|
+
dissect_hypervisor-3.20.dev2.dist-info/top_level.txt,sha256=Mn-CQzEYsAbkxrUI0TnplHuXnGVKzxpDw_po_sXpvv4,8
|
|
39
|
+
dissect_hypervisor-3.20.dev2.dist-info/RECORD,,
|
|
File without changes
|
{dissect_hypervisor-3.20.dev1.dist-info → dissect_hypervisor-3.20.dev2.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{dissect_hypervisor-3.20.dev1.dist-info → dissect_hypervisor-3.20.dev2.dist-info}/licenses/COPYRIGHT
RENAMED
|
File without changes
|
{dissect_hypervisor-3.20.dev1.dist-info → dissect_hypervisor-3.20.dev2.dist-info}/licenses/LICENSE
RENAMED
|
File without changes
|
{dissect_hypervisor-3.20.dev1.dist-info → dissect_hypervisor-3.20.dev2.dist-info}/top_level.txt
RENAMED
|
File without changes
|