OSX Gather Safari LastSession.plist
This module downloads the LastSession.plist file from the target machine. LastSession.plist is used by Safari to track active websites in the current session, and sometimes contains sensitive information such as usernames and passwords. This module will first download the original LastSession.plist, and then attempt to find the credential for Gmail. The Gmail's last session state may contain the user's credential if his/her first login attempt failed (likely due to a typo), and then the page got refreshed or another login attempt was made. This also means the stolen credential might contain typos.
- sinn3r <sinn3r [at] metasploit.com>
To display the available options, load the module within the Metasploit console and run the commands 'show options' or 'show advanced':
msf > use post/osx/gather/safari_lastsession msf post(safari_lastsession) > sessions ...sessions... msf post(safari_lastsession) > set SESSION <session-id> msf post(safari_lastsession) > show options ...show and set options... msf post(safari_lastsession) > run