alternate data streams, print data #19
-
Hello and thanks for this crate. I'm working on a file forensic tool. I'm able to get all alternate data streams and their names. But I'm struggling figuring out how to get to the data for each. Below is as far as I've gotten. Just not sure how to reference the data part of this structure.
Output is: I apologize as I'm not a developer, just a hacker. Any tips would be greatly appreciated. This is the tool I'm working on: https://github.com/theflakes/fmd thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi! The ntfs/examples/ntfs-shell/main.rs Lines 528 to 537 in 9348d72 In fact, BONUS: If you need an object that implements the |
Beta Was this translation helpful? Give feedback.
Hi! The
NtfsAttributeValue
object you got viaattribute.value(fs)?
implements theNtfsReadSeek
trait to read the actual attribute value or move the read cursor inside the data stream.The ntfs-shell example uses it here:
ntfs/examples/ntfs-shell/main.rs
Lines 528 to 537 in 9348d72
In fact,
NtfsReadSeek
is also implemented for the more specific attribute value structures (such asNtfsResidentAttributeValue
).BONUS: If you need an object that implements the
std::io
-c…