Skip to content

Commit a712688

Browse files
committed
Land rapid7#8078, resource override for start_service
2 parents f5fccde + 1a96fb0 commit a712688

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/msf/core/exploit/http/server.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,7 @@ def start_service(opts = {})
160160
filter_request_uri(cli, req)
161161
) ? nil : on_request_uri(cli, req)
162162
},
163-
'Path' => resource_uri
163+
'Path' => opts['Path'] || resource_uri
164164
}.update(opts['Uri'] || {})
165165

166166
proto = (datastore["SSL"] ? "https" : "http")

0 commit comments

Comments
 (0)