Skip to main content

A tool for exporting any files from an NTFS volume on a Raw Image file.

Project description

ntfsdump

MIT License PyPI version Python Versions DockerHub Status

ntfsdump logo

A tool for exporting any files from an NTFS volume on a Raw Image file.

Usage

$ ntfsdump <dump_target_winpath> --output-path <ouput_path> ./path/to/your/imagefile.raw
from ntfsfind import ntfsfind

# imagefile_path: str
# output_path: str
# target_queries: List[str]
# volume_num: Optional[int] = None

ntfsdump(
    imagefile_path='./path/to/your/imagefile.raw',
    output_path='./path/to/output/directory',
    target_queries=['/Windows/System32/winevt/Logs'],
    volume_num=2
)

Example

The target path can be either alone or in a directory. In the case of a directory, it dumps the lower files recursively.

$ ntfsdump /Windows/System32/winevt/Logs -o ./dump ./path/to/your/imagefile.raw

When use with ntfsfind

https://github.com/sumeshi/ntfsfind

$ ntfsfind '.*\.evtx' ./path/to/your/imagefile.raw | ntfsdump ./path/to/your/imagefile.raw

Options

--volume-num, -n:
    NTFS volume number(default: autodetect).

--output-path, -o:
    Output directory or file path.

    If the target Path is a directory, the directory specified by --output-path is created and the target files is dump under it.

    Otherwise, the file is dumped with the file name specified in the --output-path.)

Installation

via PyPI

$ pip install ntfsdump

Run with Docker

https://hub.docker.com/r/sumeshi/ntfsdump

$ docker run -t --rm -v $(pwd):/app/work sumeshi/ntfsdump:latest '/$MFT' /app/work/sample.raw

Contributing

The source code for ntfsdump is hosted at GitHub, and you may download, fork, and review it from this repository(https://github.com/sumeshi/ntfsdump).

Please report issues and feature requests. :sushi: :sushi: :sushi:

License

ntfsdump is released under the MIT License.

Powered by pytsk3.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ntfsdump-2.0.1.tar.gz (5.1 kB view details)

Uploaded Source

Built Distribution

ntfsdump-2.0.1-py3-none-any.whl (5.2 kB view details)

Uploaded Python 3

File details

Details for the file ntfsdump-2.0.1.tar.gz.

File metadata

  • Download URL: ntfsdump-2.0.1.tar.gz
  • Upload date:
  • Size: 5.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.7.0 Darwin/19.6.0

File hashes

Hashes for ntfsdump-2.0.1.tar.gz
Algorithm Hash digest
SHA256 0e3e86f240b78b10503702b588cb0cc63d87d954a1b3c234d03d178bebbe4f96
MD5 5d3c652c7ece59f99d8134821aed4275
BLAKE2b-256 923ec9c8e71a673ed30e631d734f609acecdf843fb7b20ef3bf49b3f2b4eee14

See more details on using hashes here.

File details

Details for the file ntfsdump-2.0.1-py3-none-any.whl.

File metadata

  • Download URL: ntfsdump-2.0.1-py3-none-any.whl
  • Upload date:
  • Size: 5.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.1.7 CPython/3.7.0 Darwin/19.6.0

File hashes

Hashes for ntfsdump-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 7a90094b15263564d1612184f797793d28658abcab8bddf3b2b21891e7ec23fe
MD5 577c59e0334b3cf3396a5fcecca106c4
BLAKE2b-256 608dd559f520269b7796ab20721b4311af53d7fd79700f68be9b205ec273aa41

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page