Add a :method property for autopwn_info
Replaces the previous overloading of :vuln_test
This commit is contained in:
parent
eedf4520be
commit
741de34d92
|
@ -43,6 +43,7 @@ module Exploit::Remote::BrowserAutopwn
|
|||
@autopwn_opts[:ua_maxver] = opts[:ua_maxver] || opts[:ua_maxversion] || nil
|
||||
@autopwn_opts[:ua_ver] = opts[:ua_ver] || opts[:ua_version] || nil
|
||||
@autopwn_opts[:classid] = opts[:classid] || opts[:clsid] || nil
|
||||
@autopwn_opts[:method] = opts[:method] || opts[:method] || nil
|
||||
@autopwn_opts[:javascript] = (opts[:javascript].nil?) ? true : opts[:javascript]
|
||||
@autopwn_opts[:os_name] = opts[:os_name] || nil
|
||||
@autopwn_opts[:os_ver] = opts[:os_ver] || opts[:os_version] || nil
|
||||
|
|
Loading…
Reference in New Issue