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

Source | Google | Stack overflow

Edit

git clone [email protected]:rapid7/metasploit-framework.git

cd metasploit-framework

open lib/anemone/page_store.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-Anemone--PageStore-shortest_paths--for-pr


# Commit to git

git add lib/anemone/page_store.rbgit commit -m "better docs for Anemone::PageStore#shortest_paths!"


# Open pull request

gem 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!