Class: Msf::WebServices::HttpDBManagerService
- Inherits:
-
Object
- Object
- Msf::WebServices::HttpDBManagerService
- Defined in:
- lib/msf/core/web_services/http_db_manager_service.rb
Overview
TODO: This functionality isn’t fully used currently, it should be integrated and called from the top level msfdb.rb file
Instance Method Summary collapse
Instance Method Details
#start(opts) ⇒ Object
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 |
# File 'lib/msf/core/web_services/http_db_manager_service.rb', line 7 def start(opts) = Metasploit::Framework::ParsedOptions::RemoteDB.new require_environment!() if opts[:ssl] ssl_opts = {} ssl_opts[:private_key_file] = opts[:ssl_key] ssl_opts[:cert_chain_file] = opts[:ssl_cert] ssl_opts[:verify_peer] = false opts[:ssl] = true opts[:ssl_opts] = ssl_opts end init_db start_http_server(opts) end |