lib/msf/core/module_manager.rb
#
# Creates a module using the supplied name.
#
Creates a module using the supplied name.
Creates a module using the supplied name .
def create(name)
		if (md = name.match(/^(#{MODULE_TYPES.join('|')})\/(.*)$/))
			module_sets[md[1]].create(md[2])
		else
			super
		end
	end
def create ( name ) if ( md = name . match ( / ^( #{ MODULE_TYPES . join ( '|' ) } ) \/ (.*)$ / ) ) module_sets [ md [ 1 ] ] . create ( md [ 2 ] ) else super end end
Creates a module using the supplied name.
Creates a module using the supplied name .
# Check to see if it has a module type prefix.  If it does, # try to load it from the specific module set for that type. # Otherwise, just try to load it by name.
name
<not_specific>