metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
Anemone::PageStore#shortest_paths!
Use a breadth-first search to calculate the single-source shortest paths from *root* to all pages in the PageStore
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open lib/anemone/page_store.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Anemone--PageStore-shortest_paths--for-pr
# Commit to gitgit add lib/anemone/page_store.rbgit commit -m "better docs for Anemone::PageStore#shortest_paths!"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Anemone--PageStore-shortest_paths--for-pr
hub pull-request
# Celebrate!