Module: Msf::WebServices::DbExportServlet

Defined in:
lib/msf/core/web_services/servlet/db_export_servlet.rb

Class Method Summary collapse

Class Method Details

.api_pathObject



3
4
5
# File 'lib/msf/core/web_services/servlet/db_export_servlet.rb', line 3

def self.api_path
  '/api/v1/db-export'
end

.registered(app) ⇒ Object



7
8
9
# File 'lib/msf/core/web_services/servlet/db_export_servlet.rb', line 7

def self.registered(app)
  app.get self.api_path, &get_db_export
end