Don't regenerate SSL unless the user said to so do

GSoC/Meterpreter_Web_Console
Erin Bleiweiss 2019-01-23 16:08:15 -06:00
parent 0bd21e9ba1
commit b3b7d5205b
No known key found for this signature in database
GPG Key ID: F69B2138BD594660
1 changed files with 1 additions and 1 deletions

2
msfdb
View File

@ -475,7 +475,7 @@ def init_web_service
@msf_ws_pass = @options[:ws_pass]
end
if should_generate_web_service_ssl
if should_generate_web_service_ssl && @options[:delete_existing_data]
generate_web_service_ssl(key: @options[:ssl_key], cert: @options[:ssl_cert])
end