metasploit-framework

https://github.com/rapid7/metasploit-framework

Ruby

Metasploit Framework

MetasploitModule#get_client

Override super#get_client to use a cache since the database is generally
too slow to be useful for realtime tasks.  This essentially creates an
in-memory database.  The upside is that it works if the database is
broken (which seems to be all the time now).

Source | Google | Stack overflow

Edit

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

cd metasploit-framework

open modules/auxiliary/server/browser_autopwn.rb

Contribute

# Make a new branch

git checkout -b -your-name--update-docs-MetasploitModule-get_client-for-pr


# Commit to git

git add modules/auxiliary/server/browser_autopwn.rbgit commit -m "better docs for MetasploitModule#get_client"


# Open pull request

gem install hub # on a mac you can `brew install hub`

hub fork

git push <your name> -your-name--update-docs-MetasploitModule-get_client-for-pr

hub pull-request


# Celebrate!