Validate datastore option "YEAR"
The YEAR option is a numeric value, so should be OptInt in order to go through validation. [FixRM #8345] [FixRM #8344]bug/bundler_fix
parent
fe089030d4
commit
50e7d8015a
|
@ -30,7 +30,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
register_options(
|
||||
[
|
||||
OptString.new('CW_ID', [ true, "The CorpWatch ID of the company", ""]),
|
||||
OptString.new('YEAR', [ false, "Year to look up", ""]),
|
||||
OptInt.new('YEAR', [ false, "Year to look up"]),
|
||||
OptBool.new('GET_LOCATIONS', [ false, "Get locations for company", true]),
|
||||
OptBool.new('GET_NAMES', [ false, "Get all registered names ofr the company", true]),
|
||||
OptBool.new('GET_FILINGS', [ false, "Get all filings", false ]),
|
||||
|
|
|
@ -33,7 +33,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
register_options(
|
||||
[
|
||||
OptString.new('COMPANY_NAME', [ true, "Search for companies with this name", ""]),
|
||||
OptString.new('YEAR', [ false, "Limit results to a specific year", ""]),
|
||||
OptInt.new('YEAR', [ false, "Limit results to a specific year"]),
|
||||
OptString.new('LIMIT', [ true, "Limit the number of results returned", "5"]),
|
||||
OptString.new('CORPWATCH_APIKEY', [ false, "Use this API key when getting the data", ""]),
|
||||
], self.class)
|
||||
|
|
Loading…
Reference in New Issue