dissect.evidence 3.11.dev2__py3-none-any.whl → 3.12.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/evidence/asdf/asdf.py +2 -2
- dissect/evidence/tools/asdf/dd.py +2 -4
- {dissect.evidence-3.11.dev2.dist-info → dissect_evidence-3.12.dev1.dist-info}/METADATA +5 -5
- {dissect.evidence-3.11.dev2.dist-info → dissect_evidence-3.12.dev1.dist-info}/RECORD +9 -9
- {dissect.evidence-3.11.dev2.dist-info → dissect_evidence-3.12.dev1.dist-info}/WHEEL +1 -1
- {dissect.evidence-3.11.dev2.dist-info → dissect_evidence-3.12.dev1.dist-info}/entry_points.txt +0 -0
- {dissect.evidence-3.11.dev2.dist-info → dissect_evidence-3.12.dev1.dist-info/licenses}/COPYRIGHT +0 -0
- {dissect.evidence-3.11.dev2.dist-info → dissect_evidence-3.12.dev1.dist-info/licenses}/LICENSE +0 -0
- {dissect.evidence-3.11.dev2.dist-info → dissect_evidence-3.12.dev1.dist-info}/top_level.txt +0 -0
dissect/evidence/asdf/asdf.py
CHANGED
|
@@ -9,7 +9,7 @@ import tarfile
|
|
|
9
9
|
import uuid
|
|
10
10
|
from bisect import bisect_right
|
|
11
11
|
from collections import defaultdict
|
|
12
|
-
from typing import TYPE_CHECKING, BinaryIO
|
|
12
|
+
from typing import TYPE_CHECKING, BinaryIO
|
|
13
13
|
|
|
14
14
|
from dissect.cstruct import cstruct
|
|
15
15
|
from dissect.util import ts
|
|
@@ -23,7 +23,7 @@ from dissect.evidence.exceptions import (
|
|
|
23
23
|
)
|
|
24
24
|
|
|
25
25
|
if TYPE_CHECKING:
|
|
26
|
-
from collections.abc import Iterator
|
|
26
|
+
from collections.abc import Callable, Iterator
|
|
27
27
|
|
|
28
28
|
SnapshotTableEntry = tuple[int, int, int, int]
|
|
29
29
|
|
|
@@ -35,15 +35,13 @@ class Progress:
|
|
|
35
35
|
|
|
36
36
|
def copy_stream(fhin: BinaryIO, fhout: BinaryIO, length: int) -> None:
|
|
37
37
|
n, remain = divmod(length, io.DEFAULT_BUFFER_SIZE)
|
|
38
|
-
for _ in range(n)
|
|
39
|
-
fhout.write(fhin.read(io.DEFAULT_BUFFER_SIZE))
|
|
38
|
+
fhout.writelines(fhin.read(io.DEFAULT_BUFFER_SIZE) for _ in range(n))
|
|
40
39
|
fhout.write(fhin.read(remain))
|
|
41
40
|
|
|
42
41
|
|
|
43
42
|
def fill_zero(fhout: BinaryIO, length: int) -> None:
|
|
44
43
|
n, remain = divmod(length, io.DEFAULT_BUFFER_SIZE)
|
|
45
|
-
for _ in range(n)
|
|
46
|
-
fhout.write(b"\x00" * io.DEFAULT_BUFFER_SIZE)
|
|
44
|
+
fhout.writelines(b"\x00" * io.DEFAULT_BUFFER_SIZE for _ in range(n))
|
|
47
45
|
fhout.write(b"\x00" * remain)
|
|
48
46
|
|
|
49
47
|
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
2
|
Name: dissect.evidence
|
|
3
|
-
Version: 3.
|
|
3
|
+
Version: 3.12.dev1
|
|
4
4
|
Summary: A Dissect module implementing a parsers for various forensic evidence file containers, currently: AD1, ASDF and EWF
|
|
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.evidence
|
|
9
9
|
Project-URL: repository, https://github.com/fox-it/dissect.evidence
|
|
@@ -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
|
|
@@ -27,6 +26,7 @@ Requires-Dist: dissect.util<4,>=3
|
|
|
27
26
|
Provides-Extra: dev
|
|
28
27
|
Requires-Dist: dissect.cstruct<5.0.dev,>=4.0.dev; extra == "dev"
|
|
29
28
|
Requires-Dist: dissect.util<4.0.dev,>=3.0.dev; extra == "dev"
|
|
29
|
+
Dynamic: license-file
|
|
30
30
|
|
|
31
31
|
# dissect.evidence
|
|
32
32
|
|
|
@@ -4,18 +4,18 @@ dissect/evidence/aff4.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
|
4
4
|
dissect/evidence/ewf.py,sha256=5ThU94GvUNI3CGCbGEhJSqOTBEmbEL72F7XADLxUa2g,14628
|
|
5
5
|
dissect/evidence/exceptions.py,sha256=gAGWwczCskTVOPlOhoMxuTZcIIQjo5Qxk1KC4DEHLUo,488
|
|
6
6
|
dissect/evidence/asdf/__init__.py,sha256=yZxcpk-dYWkSqJ923fgh5x2l6GwXq2rJfmIrh5rZT68,177
|
|
7
|
-
dissect/evidence/asdf/asdf.py,sha256=
|
|
7
|
+
dissect/evidence/asdf/asdf.py,sha256=mpLVvbjqlpzElp8ioZtoatILf4ZiwCZ2SnKfd17i5Tc,23959
|
|
8
8
|
dissect/evidence/asdf/streams.py,sha256=5VBq4az6c10r5qQaHgR8g0a7j5nAcgQuat3yyp-Eua8,2601
|
|
9
9
|
dissect/evidence/tools/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10
10
|
dissect/evidence/tools/asdf/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
11
|
-
dissect/evidence/tools/asdf/dd.py,sha256=
|
|
11
|
+
dissect/evidence/tools/asdf/dd.py,sha256=eZcRYABBcvszM0MKpBvi_pKrmeZnsRPXbzUZzRpi-60,3109
|
|
12
12
|
dissect/evidence/tools/asdf/meta.py,sha256=bMb9pI49MgjeKhVXYPqhw74Cn0Sq-25YMzXU3cYaZro,2568
|
|
13
13
|
dissect/evidence/tools/asdf/repair.py,sha256=XbIC0qte7VO6y-qaPIbSTJ5gZ3XhblI1iCdMwZ62u_M,3072
|
|
14
14
|
dissect/evidence/tools/asdf/verify.py,sha256=zvxRvHNFZv6bicDE7RcT-jWgDKdYbLKMNTpGOwUJmfU,4161
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
15
|
+
dissect_evidence-3.12.dev1.dist-info/licenses/COPYRIGHT,sha256=yExUrJwFMdmpUCxPrUiBR1pPQ_pGrr6hf3p231U6VnQ,303
|
|
16
|
+
dissect_evidence-3.12.dev1.dist-info/licenses/LICENSE,sha256=DZak_2itbUtvHzD3E7GNUYSRK6jdOJ-GqncQ2weavLA,34523
|
|
17
|
+
dissect_evidence-3.12.dev1.dist-info/METADATA,sha256=RUwvrqGDCGx4sNRVkSI9QOA-6IliSLryju-DuN1abbU,3267
|
|
18
|
+
dissect_evidence-3.12.dev1.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
|
19
|
+
dissect_evidence-3.12.dev1.dist-info/entry_points.txt,sha256=rz4YeIbMkl-wjryDbFnh25eK5qK4asKQvZoMJ8hM_eo,222
|
|
20
|
+
dissect_evidence-3.12.dev1.dist-info/top_level.txt,sha256=Mn-CQzEYsAbkxrUI0TnplHuXnGVKzxpDw_po_sXpvv4,8
|
|
21
|
+
dissect_evidence-3.12.dev1.dist-info/RECORD,,
|
{dissect.evidence-3.11.dev2.dist-info → dissect_evidence-3.12.dev1.dist-info}/entry_points.txt
RENAMED
|
File without changes
|
{dissect.evidence-3.11.dev2.dist-info → dissect_evidence-3.12.dev1.dist-info/licenses}/COPYRIGHT
RENAMED
|
File without changes
|
{dissect.evidence-3.11.dev2.dist-info → dissect_evidence-3.12.dev1.dist-info/licenses}/LICENSE
RENAMED
|
File without changes
|
|
File without changes
|