Land #9737, Add batch_size to external batch scanners
commit
68083921c2
|
@ -16,12 +16,13 @@ class MetasploitModule < Msf::Auxiliary
|
||||||
})
|
})
|
||||||
|
|
||||||
register_options([
|
register_options([
|
||||||
|
OptInt.new('batch_size', [false, 'Number of hosts to run in each batch', 200]),
|
||||||
<%= meta[:options] %>
|
<%= meta[:options] %>
|
||||||
])
|
])
|
||||||
end
|
end
|
||||||
|
|
||||||
def run_batch_size
|
def run_batch_size
|
||||||
200
|
datastore['batch_size']
|
||||||
end
|
end
|
||||||
|
|
||||||
def run_batch(ips)
|
def run_batch(ips)
|
||||||
|
|
Loading…
Reference in New Issue