Module: Msf::WebServices::FrameworkExtension::Helpers

Defined in:
lib/msf/core/web_services/framework_extension.rb

Instance Method Summary collapse

Instance Method Details

#frameworkObject

Get framework instance from settings.


26
27
28
# File 'lib/msf/core/web_services/framework_extension.rb', line 26

def framework
  settings.framework
end

#get_dbObject


30
31
32
# File 'lib/msf/core/web_services/framework_extension.rb', line 30

def get_db
  framework.db
end