metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
MetasploitModule#get_session_age
This function returns the number of seconds since the last time that the session checked in.
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open modules/post/windows/capture/keylog_recorder.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-MetasploitModule-get_session_age-for-pr
# Commit to gitgit add modules/post/windows/capture/keylog_recorder.rbgit commit -m "better docs for MetasploitModule#get_session_age"
# 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_session_age-for-pr
hub pull-request
# Celebrate!