e3ce04667f
git-svn-id: file:///home/svn/framework3/trunk@3821 4d416f70-5f16-0410-b530-b9f4589650da
35 lines
535 B
Ruby
35 lines
535 B
Ruby
require 'msf/core'
|
|
|
|
module Msf
|
|
|
|
class Auxiliary::Scanner::BatchTest < Msf::Auxiliary
|
|
|
|
include Auxiliary::Scanner
|
|
|
|
def initialize
|
|
super(
|
|
'Name' => 'Simple Recon Module Tester',
|
|
'Version' => '$Revision: 3624 $',
|
|
'Description' => 'Simple Recon Module Tester',
|
|
'Author' => 'hdm',
|
|
'License' => MSF_LICENSE
|
|
)
|
|
|
|
register_options(
|
|
[
|
|
Opt::RPORT,
|
|
], self.class)
|
|
|
|
end
|
|
|
|
def run_batch_size
|
|
3
|
|
end
|
|
|
|
def run_batch(batch)
|
|
print_status("Working on batch #{batch.join(",")}")
|
|
end
|
|
|
|
end
|
|
end
|