Skip to content

Commit

Permalink
release: v2.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
sumeshi committed Apr 4, 2022
1 parent cec264e commit 92df1e8
Show file tree
Hide file tree
Showing 4 changed files with 47 additions and 8 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ https://github.com/sumeshi/ntfsdump
--type, -t:
image file format (default: raw(dd-format)).
(raw|e01) are supported.
(raw|e01|vhd|vhdx|vmdk) are supported.
--multiprocess, -m:
flag to run multiprocessing.
Expand Down
36 changes: 32 additions & 4 deletions poetry.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tool.poetry]
name = "ntfsfind"
version = "2.3.4"
version = "2.4.0"
description = "A tool for search paths from an NTFS volume on an image file."
authors = ["sumeshi <sum3sh1@protonmail.com>"]
license = "LGPLv3+"
Expand All @@ -16,7 +16,7 @@ ntfsfind = 'ntfsfind:entry_point'

[tool.poetry.dependencies]
python = "^3.9"
ntfsdump = "==2.3.4"
ntfsdump = "==2.4.0"
mft = "^0.5.6"
pytsk3 = "^20211111"

Expand Down
13 changes: 12 additions & 1 deletion src/ntfsfind.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,18 @@ def ntfsfind(
imagefile_path: str,
search_query: str,
volume_num: Optional[int] = None,
file_type: Literal['raw', 'e01'] = 'raw',
file_type: Literal[
'raw',
'RAW',
'e01',
'E01',
'vhd',
'VHD',
'vhdx',
'VHDX',
'vmdk',
'VMDK',
] = 'raw',
multiprocess: bool = False
) -> list[str]:
image = ImageFile(Path(imagefile_path).resolve(), volume_num, file_type)
Expand Down

0 comments on commit 92df1e8

Please sign in to comment.