← 返回命令列表

Linux command

ntfs-read.py 命令

文件

复制后可按需替换文件名、目录或参数。

常用示例

Read a file from an NTFS partition

ntfs-read.py [/dev/sda1] [/path/to/file]

List contents of a directory

ntfs-read.py [/dev/sda1] -l [/path/to/dir]

Extract a file to a local output file

ntfs-read.py [/dev/sda1] [/path/to/file] -o [output]

List the root directory

ntfs-read.py [/dev/sda1] -l /

说明

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.

参数

-l
List directory contents instead of reading a file.
-o _FILE_
Write output to the specified file.
--help
Display help information.

FAQ

What is the ntfs-read.py command used for?

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.

How do I run a basic ntfs-read.py example?

Run `ntfs-read.py [/dev/sda1] [/path/to/file]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.

What does -l do in ntfs-read.py?

List directory contents instead of reading a file.