metasploit-framework
https://github.com/rapid7/metasploit-framework
Ruby
Metasploit Framework
Msf::Exploit::Remote::BrowserAutopwn2#browser_profile_prefix
Returns a prefix type that's unique to this BAP (based on a timestamp & module uuid). This overrides Msf::Exploit::Remote::BrowserProfileManager#browser_profile_prefix so that BAP and all of its child exploits can share target information with each other. If BAP is active but there are other standalone BES exploits running, this allows them not to use (or cleanup) each other's data. Also, once requested, the method will not generate another profile prefix again, it will just return whatever's been stored in the @browser_profile_prefix instance variable.
Edit
git clone [email protected]:rapid7/metasploit-framework.git
cd metasploit-framework
open lib/msf/core/exploit/browser_autopwn2.rb
Contribute
# Make a new branchgit checkout -b -your-name--update-docs-Msf--Exploit--Remote--BrowserAutopwn2-browser_profile_prefix-for-pr
# Commit to gitgit add lib/msf/core/exploit/browser_autopwn2.rbgit commit -m "better docs for Msf::Exploit::Remote::BrowserAutopwn2#browser_profile_prefix"
# Open pull requestgem install hub # on a mac you can `brew install hub`
hub fork
git push <your name> -your-name--update-docs-Msf--Exploit--Remote--BrowserAutopwn2-browser_profile_prefix-for-pr
hub pull-request
# Celebrate!