2007-02-18 00:10:39 +00:00
|
|
|
##
|
2008-01-23 02:26:52 +00:00
|
|
|
# $Id$
|
2007-02-18 00:10:39 +00:00
|
|
|
##
|
|
|
|
|
|
|
|
##
|
|
|
|
# This file is part of the Metasploit Framework and may be subject to
|
|
|
|
# redistribution and commercial restrictions. Please see the Metasploit
|
|
|
|
# Framework web site for more information on licensing and terms of use.
|
|
|
|
# http://metasploit.com/projects/Framework/
|
|
|
|
##
|
|
|
|
|
|
|
|
|
2006-08-12 08:31:38 +00:00
|
|
|
require 'msf/core'
|
|
|
|
|
|
|
|
module Msf
|
|
|
|
|
2008-01-23 02:28:12 +00:00
|
|
|
class Auxiliary::Test::BatchTest < Msf::Auxiliary
|
2006-08-12 08:31:38 +00:00
|
|
|
|
|
|
|
include Auxiliary::Scanner
|
|
|
|
|
|
|
|
def initialize
|
|
|
|
super(
|
|
|
|
'Name' => 'Simple Recon Module Tester',
|
2007-02-18 00:10:39 +00:00
|
|
|
'Version' => '$Revision$',
|
2006-08-12 08:31:38 +00:00
|
|
|
'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
|