add RHOSTS common option to nmap and scanner mixins
parent
c18c91ebcd
commit
770b9fa209
|
@ -24,7 +24,7 @@ def initialize(info = {})
|
||||||
super
|
super
|
||||||
|
|
||||||
register_options([
|
register_options([
|
||||||
OptAddressRange.new('RHOSTS', [ true, "The target address range or CIDR identifier"]),
|
Opt::RHOSTS,
|
||||||
OptBool.new('NMAP_VERBOSE', [ false, 'Display nmap output', true]),
|
OptBool.new('NMAP_VERBOSE', [ false, 'Display nmap output', true]),
|
||||||
OptString.new('RPORTS', [ false, 'Ports to target']), # RPORT supersedes RPORTS
|
OptString.new('RPORTS', [ false, 'Ports to target']), # RPORT supersedes RPORTS
|
||||||
], Auxiliary::Nmap)
|
], Auxiliary::Nmap)
|
||||||
|
|
|
@ -17,6 +17,7 @@ def initialize(info = {})
|
||||||
super
|
super
|
||||||
|
|
||||||
register_options([
|
register_options([
|
||||||
|
Opt::RHOSTS,
|
||||||
OptInt.new('THREADS', [ true, "The number of concurrent threads", 1 ] )
|
OptInt.new('THREADS', [ true, "The number of concurrent threads", 1 ] )
|
||||||
], Auxiliary::Scanner)
|
], Auxiliary::Scanner)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue