metasploit-framework

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

Ruby

Metasploit Framework

MetasploitModule#session_good?

This function makes sure a session is still alive acording to the Framework.
It also checks the timed_out flag. Upon resume of session it resets the flag so
that logging can start again.

Source | Google | Stack overflow

Edit

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

cd metasploit-framework

open modules/post/multi/manage/autoroute.rb

Contribute

# Make a new branch

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


# Commit to git

git add modules/post/multi/manage/autoroute.rbgit commit -m "better docs for MetasploitModule#session_good?"


# 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-session_good--for-pr

hub pull-request


# Celebrate!