metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
MetasploitModule#get_lastsession
Returns the XML version of LastSession.plist (text file) Just a wrapper for plutil
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open modules/post/osx/gather/safari_lastsession.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-MetasploitModule-get_lastsession-for-pr
# Commit to gitgit add modules/post/osx/gather/safari_lastsession.rbgit commit -m "better docs for MetasploitModule#get_lastsession"
# 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_lastsession-for-pr
hub pull-request
# Celebrate!