File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
lib/msf/ui/console/command_dispatcher Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -111,7 +111,7 @@ def cmd_add_data_service(*args)
111
111
port = args . shift
112
112
when '-s' , '--ssl'
113
113
protocol = "https"
114
- when '-c'
114
+ when '-c' , '--cert'
115
115
https_opts [ :cert ] = args . shift
116
116
when '--skip-verify'
117
117
https_opts [ :skip_verify ] = true
@@ -138,7 +138,7 @@ def cmd_add_data_service_help
138
138
print_line " -h, --help Show this help information."
139
139
print_line " -p <port> The port the data service is listening on. Default is 80."
140
140
print_line " -s, --ssl Enable SSL. Required for HTTPS data services."
141
- print_line " -c Certificate file matching the server's certificate. Needed when using self-signed SSL cert."
141
+ print_line " -c, --cert Certificate file matching the server's certificate. Needed when using self-signed SSL cert."
142
142
print_line " --skip-verify Skip validating authenticity of server's certificate. NOT RECOMMENDED."
143
143
print_line
144
144
end
You can’t perform that action at this time.
0 commit comments