To list all streams associated with report.txt, which command should you use?

Prepare for the Penetration Testing and Vulnerability Analysis Test with a range of challenging questions. Study with multiple choice format, hints, and detailed explanations to ace your next exam!

Multiple Choice

To list all streams associated with report.txt, which command should you use?

Explanation:
NTFS can attach additional data streams to a file, called alternate data streams. To see these from the command line, use the dir command with the /r switch. Listing a specific file with /r reveals not only the file itself but also every attached stream, so you can see all streams associated with report.txt. The other options don’t expose ADS: one shows file attributes, another only shows the main file entry, and a separate utility would be needed if you’re not using built-in commands.

NTFS can attach additional data streams to a file, called alternate data streams. To see these from the command line, use the dir command with the /r switch. Listing a specific file with /r reveals not only the file itself but also every attached stream, so you can see all streams associated with report.txt. The other options don’t expose ADS: one shows file attributes, another only shows the main file entry, and a separate utility would be needed if you’re not using built-in commands.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy