Revert "Bump scanner THREADS to 10 by default"

This reverts commit f537f91943.
bug/bundler_fix
Jon Hart 2015-09-02 13:55:48 -07:00
parent 42a2a86f32
commit 27174e2bfd
2 changed files with 2 additions and 1 deletions

View File

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

View File

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