src/core/session/settings/BROWSER.py
"""
Set attacker's default Web Browser in phpsploit's context.
* USE CASES:
The '--browser' option of `phpinfo` plugin uses this setting
to display remote server's informations locally:
> phpinfo --browser
"""
import linebuf
import datatypes
linebuf_type = linebuf.RandLineBuffer
def validator(value):
return datatypes.WebBrowser(value)
def default_value():
return "default"