32 lines
495 B
Ruby
32 lines
495 B
Ruby
|
require 'msf/core'
|
||
|
|
||
|
module Msf
|
||
|
|
||
|
class Auxiliary::Scanner::RangeTest < 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_range(range)
|
||
|
print_status("Working on range #{range}")
|
||
|
end
|
||
|
|
||
|
|
||
|
end
|
||
|
end
|