Module: Msf::Exploit::Remote::BrowserProfileManager
- Included in:
- BrowserExploitServer
- Defined in:
- lib/msf/core/exploit/remote/browser_profile_manager.rb
Instance Method Summary collapse
-
#browser_profile ⇒ Hash
Storage backend for browser profiles.
-
#browser_profile_prefix ⇒ Object
Sets the profile prefix to retrieve or load target information.
-
#clear_browser_profiles ⇒ Object
Storage backend for browser profiles.
Instance Method Details
#browser_profile ⇒ Hash
Storage backend for browser profiles
13 14 15 16 |
# File 'lib/msf/core/exploit/remote/browser_profile_manager.rb', line 13 def browser_profile framework.browser_profiles[browser_profile_prefix] ||= {} framework.browser_profiles[browser_profile_prefix] end |
#browser_profile_prefix ⇒ Object
6 7 8 |
# File 'lib/msf/core/exploit/remote/browser_profile_manager.rb', line 6 def browser_profile_prefix raise NoMethodError, "A mixin that's using BrowserProfileManager should define browser_profile_prefix" end |
#clear_browser_profiles ⇒ Object
Storage backend for browser profiles
20 21 22 |
# File 'lib/msf/core/exploit/remote/browser_profile_manager.rb', line 20 def clear_browser_profiles framework.browser_profiles.delete(browser_profile_prefix) end |