dissect.vmfs 3.8.dev3__py3-none-any.whl → 3.9.dev1__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/vmfs/c_vmfs.py +2 -3
- dissect/vmfs/resource.py +1 -2
- {dissect.vmfs-3.8.dev3.dist-info → dissect.vmfs-3.9.dev1.dist-info}/METADATA +6 -3
- dissect.vmfs-3.9.dev1.dist-info/RECORD +12 -0
- dissect.vmfs-3.8.dev3.dist-info/RECORD +0 -12
- {dissect.vmfs-3.8.dev3.dist-info → dissect.vmfs-3.9.dev1.dist-info}/COPYRIGHT +0 -0
- {dissect.vmfs-3.8.dev3.dist-info → dissect.vmfs-3.9.dev1.dist-info}/LICENSE +0 -0
- {dissect.vmfs-3.8.dev3.dist-info → dissect.vmfs-3.9.dev1.dist-info}/WHEEL +0 -0
- {dissect.vmfs-3.8.dev3.dist-info → dissect.vmfs-3.9.dev1.dist-info}/top_level.txt +0 -0
dissect/vmfs/c_vmfs.py
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import stat
|
|
2
2
|
import struct
|
|
3
3
|
|
|
4
|
-
from dissect import cstruct
|
|
4
|
+
from dissect.cstruct import cstruct
|
|
5
5
|
|
|
6
6
|
vmfs_def = """
|
|
7
7
|
/* === System file addresses === */
|
|
@@ -368,8 +368,7 @@ struct FS6_DirHeader {
|
|
|
368
368
|
};
|
|
369
369
|
"""
|
|
370
370
|
|
|
371
|
-
c_vmfs = cstruct.
|
|
372
|
-
c_vmfs.load(vmfs_def)
|
|
371
|
+
c_vmfs = cstruct().load(vmfs_def)
|
|
373
372
|
|
|
374
373
|
ADDRESS_TYPE_MASK = 7
|
|
375
374
|
ResourceType = c_vmfs.ResourceType
|
dissect/vmfs/resource.py
CHANGED
|
@@ -217,8 +217,7 @@ class ResourceManager:
|
|
|
217
217
|
return None
|
|
218
218
|
|
|
219
219
|
def _get_resource_for_resource_type(self, resource_type):
|
|
220
|
-
|
|
221
|
-
resource_type = resource_type.value
|
|
220
|
+
resource_type = int(resource_type)
|
|
222
221
|
|
|
223
222
|
if resource_type not in self.resources:
|
|
224
223
|
raise ValueError(f"No resource opened for type {ResourceType(resource_type)}")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dissect.vmfs
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.9.dev1
|
|
4
4
|
Summary: A Dissect module implementing a parser for the VMFS file system, used by VMware virtualization software
|
|
5
5
|
Author-email: Dissect Team <dissect@fox-it.com>
|
|
6
6
|
License: Affero General Public License v3
|
|
@@ -22,8 +22,11 @@ Requires-Python: ~=3.9
|
|
|
22
22
|
Description-Content-Type: text/markdown
|
|
23
23
|
License-File: LICENSE
|
|
24
24
|
License-File: COPYRIGHT
|
|
25
|
-
Requires-Dist: dissect.cstruct <4.
|
|
26
|
-
Requires-Dist: dissect.util <4
|
|
25
|
+
Requires-Dist: dissect.cstruct <5,>=4.dev
|
|
26
|
+
Requires-Dist: dissect.util <4,>=3
|
|
27
|
+
Provides-Extra: dev
|
|
28
|
+
Requires-Dist: dissect.cstruct <5.0.dev,>=4.0.dev ; extra == 'dev'
|
|
29
|
+
Requires-Dist: dissect.util <4.0.dev,>=3.0.dev ; extra == 'dev'
|
|
27
30
|
|
|
28
31
|
# dissect.vmfs
|
|
29
32
|
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
dissect/vmfs/__init__.py,sha256=CxCTF-MFHDT1D-kQiA-XvF8sYFwEXFrEaOovMYCkYXQ,376
|
|
2
|
+
dissect/vmfs/c_vmfs.py,sha256=UDs_HA-7yxBnDICO3a5jvFVgJ6XIWjHAdsgQSiAFcn0,15879
|
|
3
|
+
dissect/vmfs/exceptions.py,sha256=fxWGxPFFkUKtpdD0Z3T5w-MqadM80qtKVlva49lF1mI,244
|
|
4
|
+
dissect/vmfs/lvm.py,sha256=vXGyDb1oVZw-DTxTLym32kJZAoIhc1YYGRJjR2RpepY,3937
|
|
5
|
+
dissect/vmfs/resource.py,sha256=w6IuwiLYQ48-9_9dxcF0oJpclz_MPL71p0jGwCmaGlU,15169
|
|
6
|
+
dissect/vmfs/vmfs.py,sha256=F1f15rZQZz3DCB2-sFh84Y3PwIw2UryE_Miu0uFJiCw,28019
|
|
7
|
+
dissect.vmfs-3.9.dev1.dist-info/COPYRIGHT,sha256=xRsH_sojCCOLf87tua-LfCu1_G8XAFtQnrF-iJ9ZImk,299
|
|
8
|
+
dissect.vmfs-3.9.dev1.dist-info/LICENSE,sha256=DZak_2itbUtvHzD3E7GNUYSRK6jdOJ-GqncQ2weavLA,34523
|
|
9
|
+
dissect.vmfs-3.9.dev1.dist-info/METADATA,sha256=TVqM6kdFNDDCH6uuDlf4gDBQzpQ_zKTVQziPTbYJsYI,3237
|
|
10
|
+
dissect.vmfs-3.9.dev1.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
11
|
+
dissect.vmfs-3.9.dev1.dist-info/top_level.txt,sha256=Mn-CQzEYsAbkxrUI0TnplHuXnGVKzxpDw_po_sXpvv4,8
|
|
12
|
+
dissect.vmfs-3.9.dev1.dist-info/RECORD,,
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
dissect/vmfs/__init__.py,sha256=CxCTF-MFHDT1D-kQiA-XvF8sYFwEXFrEaOovMYCkYXQ,376
|
|
2
|
-
dissect/vmfs/c_vmfs.py,sha256=gQ5fPX8Q8F4jUzXt_QngAn7ayZ-GeTE7_ifR4C7v4h8,15886
|
|
3
|
-
dissect/vmfs/exceptions.py,sha256=fxWGxPFFkUKtpdD0Z3T5w-MqadM80qtKVlva49lF1mI,244
|
|
4
|
-
dissect/vmfs/lvm.py,sha256=vXGyDb1oVZw-DTxTLym32kJZAoIhc1YYGRJjR2RpepY,3937
|
|
5
|
-
dissect/vmfs/resource.py,sha256=CshnmfdTMErJRgindmEOLTvQYyK4lR6MMNTnfk-J-mc,15221
|
|
6
|
-
dissect/vmfs/vmfs.py,sha256=F1f15rZQZz3DCB2-sFh84Y3PwIw2UryE_Miu0uFJiCw,28019
|
|
7
|
-
dissect.vmfs-3.8.dev3.dist-info/COPYRIGHT,sha256=xRsH_sojCCOLf87tua-LfCu1_G8XAFtQnrF-iJ9ZImk,299
|
|
8
|
-
dissect.vmfs-3.8.dev3.dist-info/LICENSE,sha256=DZak_2itbUtvHzD3E7GNUYSRK6jdOJ-GqncQ2weavLA,34523
|
|
9
|
-
dissect.vmfs-3.8.dev3.dist-info/METADATA,sha256=qiLtMgce9d0-53DhBGouDZ9LPUOWd-I5qZaU8qCll7U,3106
|
|
10
|
-
dissect.vmfs-3.8.dev3.dist-info/WHEEL,sha256=GJ7t_kWBFywbagK5eo9IoUwLW6oyOeTKmQ-9iHFVNxQ,92
|
|
11
|
-
dissect.vmfs-3.8.dev3.dist-info/top_level.txt,sha256=Mn-CQzEYsAbkxrUI0TnplHuXnGVKzxpDw_po_sXpvv4,8
|
|
12
|
-
dissect.vmfs-3.8.dev3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|