metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
MetasploitModule#get_target_path
Not only is this code slow, it seems buggy. I'm studying the recently released MS Specs for a better way.
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open modules/post/windows/gather/dumplinks.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-MetasploitModule-get_target_path-for-pr
# Commit to gitgit add modules/post/windows/gather/dumplinks.rbgit commit -m "better docs for MetasploitModule#get_target_path"
# 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_target_path-for-pr
hub pull-request
# Celebrate!