metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
MetasploitModule#get_data_runs
Receive a string pointing to the first attribute of certain file entry and returns an array of data runs of that file. The first element will be 1 or 0 depending on whether the attribute is resident or not. If it's resident the second element will be the content itself, otherwise (if not resident) each element will contain each of the data runs of that file
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open modules/post/windows/gather/forensics/recovery_files.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-MetasploitModule-get_data_runs-for-pr
# Commit to gitgit add modules/post/windows/gather/forensics/recovery_files.rbgit commit -m "better docs for MetasploitModule#get_data_runs"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-MetasploitModule-get_data_runs-for-pr
hub pull-request
# Celebrate!