Add a :method property for autopwn_info

Replaces the previous overloading of :vuln_test
This commit is contained in:
James Lee 2012-04-17 18:32:11 -06:00
parent eedf4520be
commit 741de34d92
1 changed files with 1 additions and 0 deletions

View File

@ -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