Skip to content

Commit

Permalink
Land rapid7#18009, Clearing http web data service credentials in msfc…
Browse files Browse the repository at this point in the history
…onsole
  • Loading branch information
gwillcox-r7 committed May 23, 2023
2 parents 5189c7a + 8d131f0 commit e749945
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions msfdb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ require 'msfenv'
retry_max: 10,
retry_delay: 5.0,
ws_user: nil,
add_data_service: true,
add_data_service: false,
data_service_name: nil,
use_defaults: false,
delete_existing_data: true
Expand Down Expand Up @@ -921,6 +921,7 @@ def parse_args(args)
if !n
@options[:add_data_service] = false
else
@options[:add_data_service] = true
@options[:data_service_name] = n
end
}
Expand Down Expand Up @@ -987,8 +988,7 @@ def prompt_for_component(command)
return :database
end

enable_webservice = ask_yn("Would you like to #{command} the webservice? (Not Required)", default: 'no')
if enable_webservice
if @options[:add_data_service] == true
:all
else
:database
Expand Down

0 comments on commit e749945

Please sign in to comment.