metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
Rex::Parser::NTFS#mft_record_attribute
return the attribute list from the MFT record deal with resident and non resident attributes (but not $DATA due to performance issue) if lazy = True, this function only gather essential non resident attributes (INDEX_ALLOCATION). Non resident attributes can still be gathered later with cluster_from_attribute_non_resident function.
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open lib/rex/parser/fs/ntfs.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Rex--Parser--NTFS-mft_record_attribute-for-pr
# Commit to gitgit add lib/rex/parser/fs/ntfs.rbgit commit -m "better docs for Rex::Parser::NTFS#mft_record_attribute"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Rex--Parser--NTFS-mft_record_attribute-for-pr
hub pull-request
# Celebrate!