dissect.fat 3.9.dev3__tar.gz → 3.10.dev1__tar.gz
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.fat-3.9.dev3/dissect.fat.egg-info → dissect_fat-3.10.dev1}/PKG-INFO +6 -3
- {dissect.fat-3.9.dev3 → dissect_fat-3.10.dev1}/dissect/fat/c_exfat.py +3 -4
- {dissect.fat-3.9.dev3 → dissect_fat-3.10.dev1}/dissect/fat/c_fat.py +3 -4
- {dissect.fat-3.9.dev3 → dissect_fat-3.10.dev1/dissect.fat.egg-info}/PKG-INFO +6 -3
- dissect_fat-3.10.dev1/dissect.fat.egg-info/requires.txt +6 -0
- {dissect.fat-3.9.dev3 → dissect_fat-3.10.dev1}/pyproject.toml +8 -2
- {dissect.fat-3.9.dev3 → dissect_fat-3.10.dev1}/tox.ini +1 -0
- dissect.fat-3.9.dev3/dissect.fat.egg-info/requires.txt +0 -2
- {dissect.fat-3.9.dev3 → dissect_fat-3.10.dev1}/COPYRIGHT +0 -0
- {dissect.fat-3.9.dev3 → dissect_fat-3.10.dev1}/LICENSE +0 -0
- {dissect.fat-3.9.dev3 → dissect_fat-3.10.dev1}/MANIFEST.in +0 -0
- {dissect.fat-3.9.dev3 → dissect_fat-3.10.dev1}/README.md +0 -0
- {dissect.fat-3.9.dev3 → dissect_fat-3.10.dev1}/dissect/fat/__init__.py +0 -0
- {dissect.fat-3.9.dev3 → dissect_fat-3.10.dev1}/dissect/fat/exceptions.py +0 -0
- {dissect.fat-3.9.dev3 → dissect_fat-3.10.dev1}/dissect/fat/exfat.py +0 -0
- {dissect.fat-3.9.dev3 → dissect_fat-3.10.dev1}/dissect/fat/fat.py +0 -0
- {dissect.fat-3.9.dev3 → dissect_fat-3.10.dev1}/dissect.fat.egg-info/SOURCES.txt +0 -0
- {dissect.fat-3.9.dev3 → dissect_fat-3.10.dev1}/dissect.fat.egg-info/dependency_links.txt +0 -0
- {dissect.fat-3.9.dev3 → dissect_fat-3.10.dev1}/dissect.fat.egg-info/top_level.txt +0 -0
- {dissect.fat-3.9.dev3 → dissect_fat-3.10.dev1}/setup.cfg +0 -0
- {dissect.fat-3.9.dev3 → dissect_fat-3.10.dev1}/tests/__init__.py +0 -0
- {dissect.fat-3.9.dev3 → dissect_fat-3.10.dev1}/tests/conftest.py +0 -0
- {dissect.fat-3.9.dev3 → dissect_fat-3.10.dev1}/tests/data/exfat.bin +0 -0
- {dissect.fat-3.9.dev3 → dissect_fat-3.10.dev1}/tests/data/fat12.bin +0 -0
- {dissect.fat-3.9.dev3 → dissect_fat-3.10.dev1}/tests/data/fat16.bin +0 -0
- {dissect.fat-3.9.dev3 → dissect_fat-3.10.dev1}/tests/data/fat32.bin +0 -0
- {dissect.fat-3.9.dev3 → dissect_fat-3.10.dev1}/tests/docs/Makefile +0 -0
- {dissect.fat-3.9.dev3 → dissect_fat-3.10.dev1}/tests/docs/conf.py +0 -0
- {dissect.fat-3.9.dev3 → dissect_fat-3.10.dev1}/tests/docs/index.rst +0 -0
- {dissect.fat-3.9.dev3 → dissect_fat-3.10.dev1}/tests/test_exfat.py +0 -0
- {dissect.fat-3.9.dev3 → dissect_fat-3.10.dev1}/tests/test_fat.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dissect.fat
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.10.dev1
|
|
4
4
|
Summary: A Dissect module implementing parsers for the FAT and exFAT file systems, commonly used on flash memory based storage devices and UEFI partitions
|
|
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.fat
|
|
29
32
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
from dissect import cstruct
|
|
1
|
+
from dissect.cstruct import cstruct
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
exfat_def = """
|
|
4
4
|
enum entry_types : uint8 {
|
|
5
5
|
allocation_bitmap = 0x81,
|
|
6
6
|
upcase_table = 0x82,
|
|
@@ -139,8 +139,7 @@ typedef struct UPCASE_DIRECTORY_ENTRY {
|
|
|
139
139
|
"""
|
|
140
140
|
|
|
141
141
|
# default endianess is LE so we keep it that way.
|
|
142
|
-
c_exfat = cstruct.
|
|
143
|
-
c_exfat.load(c_exfat_def)
|
|
142
|
+
c_exfat = cstruct().load(exfat_def)
|
|
144
143
|
|
|
145
144
|
EOC = 0xFFFFFFFF # indicates end of cluster chain
|
|
146
145
|
FID = 0xFFFFFFF8 # indicates start of FAT
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
from dissect import cstruct
|
|
1
|
+
from dissect.cstruct import cstruct
|
|
2
2
|
|
|
3
3
|
# https://ogris.de/fatrepair/fat.c
|
|
4
|
-
|
|
4
|
+
fat_def = """
|
|
5
5
|
#define ATTR_READ_ONLY 0x01
|
|
6
6
|
#define ATTR_HIDDEN 0x02
|
|
7
7
|
#define ATTR_SYSTEM 0x04
|
|
@@ -90,8 +90,7 @@ struct Ldirent {
|
|
|
90
90
|
};
|
|
91
91
|
""" # noqa: E501
|
|
92
92
|
|
|
93
|
-
c_fat = cstruct.
|
|
94
|
-
c_fat.load(c_fat_def)
|
|
93
|
+
c_fat = cstruct().load(fat_def)
|
|
95
94
|
|
|
96
95
|
Fattype = c_fat.Fattype
|
|
97
96
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: dissect.fat
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.10.dev1
|
|
4
4
|
Summary: A Dissect module implementing parsers for the FAT and exFAT file systems, commonly used on flash memory based storage devices and UEFI partitions
|
|
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.fat
|
|
29
32
|
|
|
@@ -25,8 +25,8 @@ classifiers = [
|
|
|
25
25
|
"Topic :: Utilities",
|
|
26
26
|
]
|
|
27
27
|
dependencies = [
|
|
28
|
-
"dissect.cstruct>=
|
|
29
|
-
"dissect.util>=3
|
|
28
|
+
"dissect.cstruct>=4.dev,<5",
|
|
29
|
+
"dissect.util>=3,<4",
|
|
30
30
|
]
|
|
31
31
|
dynamic = ["version"]
|
|
32
32
|
|
|
@@ -35,6 +35,12 @@ homepage = "https://dissect.tools"
|
|
|
35
35
|
documentation = "https://docs.dissect.tools/en/latest/projects/dissect.fat"
|
|
36
36
|
repository = "https://github.com/fox-it/dissect.fat"
|
|
37
37
|
|
|
38
|
+
[project.optional-dependencies]
|
|
39
|
+
dev = [
|
|
40
|
+
"dissect.cstruct>=4.0.dev,<5.0.dev",
|
|
41
|
+
"dissect.util>=3.0.dev,<4.0.dev",
|
|
42
|
+
]
|
|
43
|
+
|
|
38
44
|
[tool.black]
|
|
39
45
|
line-length = 120
|
|
40
46
|
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|