lib/msf/core/module_manager.rb
#
# Overrides the module set method for adding a module so that some extra
# steps can be taken to subscribe the module and notify the event
# dispatcher.
#
Overrides the module set method for adding a module so that some extra
steps can be taken to subscribe the module and notify the event
dispatcher.
Overrides the module set method for adding a module so that some extra steps can be taken to subscribe the module and notify the event dispatcher .
def add_module(mod, name, file_paths)
		dup = super
		auto_subscribe_module(dup)
		framework.events.on_module_load(name, dup)
	end
def add_module ( mod , name , file_paths ) dup = super auto_subscribe_module ( dup ) framework . events . on_module_load ( name , dup ) end
Overrides the module set method for adding a module so that some extra
steps can be taken to subscribe the module and notify the event
dispatcher.
Overrides the module set method for adding a module so that some extra steps can be taken to subscribe the module and notify the event dispatcher .
# Call the module set implementation of add_module # Automatically subscribe a wrapper around this module to the necessary # event providers based on whatever events it wishes to receive.  We # only do this if we are the module manager instance, as individual # module sets need not subscribe. # Notify the framework that a module was loaded
mod
<not_specific>
name
<not_specific>
file_paths
<not_specific>