parent
42a2a86f32
commit
27174e2bfd
|
@ -18,7 +18,7 @@ def initialize(info = {})
|
||||||
|
|
||||||
register_options([
|
register_options([
|
||||||
OptAddressRange.new('RHOSTS', [ true, "The target address range or CIDR identifier"]),
|
OptAddressRange.new('RHOSTS', [ true, "The target address range or CIDR identifier"]),
|
||||||
OptInt.new('THREADS', [ true, "The number of concurrent threads", 10 ] )
|
OptInt.new('THREADS', [ true, "The number of concurrent threads", 1 ] )
|
||||||
], Auxiliary::Scanner)
|
], Auxiliary::Scanner)
|
||||||
|
|
||||||
# RHOST should not be used in scanner modules, only RHOSTS
|
# RHOST should not be used in scanner modules, only RHOSTS
|
||||||
|
|
|
@ -23,6 +23,7 @@ module Auxiliary::UDPScanner
|
||||||
[
|
[
|
||||||
Opt::RPORT,
|
Opt::RPORT,
|
||||||
OptInt.new('BATCHSIZE', [true, 'The number of hosts to probe in each set', 256]),
|
OptInt.new('BATCHSIZE', [true, 'The number of hosts to probe in each set', 256]),
|
||||||
|
OptInt.new('THREADS', [true, "The number of concurrent threads", 10])
|
||||||
], self.class)
|
], self.class)
|
||||||
|
|
||||||
register_advanced_options(
|
register_advanced_options(
|
||||||
|
|
Loading…
Reference in New Issue