LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

ntfs-read.py

Impacket tool for reading NTFS volumes without mounting

TLDR

Read a file from an NTFS partition
$ ntfs-read.py [/dev/sda1] [/path/to/file]
copy
List contents of a directory
$ ntfs-read.py [/dev/sda1] -l [/path/to/dir]
copy
Extract a file to a local output file
$ ntfs-read.py [/dev/sda1] [/path/to/file] -o [output]
copy
List the root directory
$ ntfs-read.py [/dev/sda1] -l /
copy

SYNOPSIS

ntfs-read.py [options] device [path]

DESCRIPTION

ntfs-read.py is an Impacket tool that reads NTFS file systems directly from block devices without mounting them. It parses the NTFS structures at a low level, providing access to files and directories on NTFS partitions.This is useful for forensic analysis and data recovery scenarios where mounting the filesystem is undesirable or not possible. The tool can list directories, read individual files, and extract their contents.Part of the Impacket security toolkit, which provides Python classes for working with network protocols and Windows-related structures.

PARAMETERS

DEVICE

NTFS partition device (e.g., /dev/sda1).
PATH
Path within the NTFS volume to read or list.
-l
List directory contents instead of reading a file.
-o FILE
Write output to the specified file.
--help
Display help information.

INSTALL

sudo apk add py3-impacket
copy

CAVEATS

Requires raw device access, so typically needs root privileges. As an Impacket Python script, it requires the Impacket library to be installed. Intended for security research and forensic use; not suitable as a general-purpose NTFS access tool.

HISTORY

ntfs-read.py is part of Impacket, a collection of Python classes for working with network protocols originally developed by SecureAuth (now Fortra). It provides low-level NTFS access for security research and digital forensics.

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid