diff --git a/lib/msf/core/exploit/http.rb b/lib/msf/core/exploit/http.rb index 0a71ecbc55..21de2898d8 100644 --- a/lib/msf/core/exploit/http.rb +++ b/lib/msf/core/exploit/http.rb @@ -473,11 +473,9 @@ module Exploit::Remote::HttpClient info = "#{res.headers['Server']}" info << " ( #{extras.join(", ")} )" if extras.length > 0 - # Report here even if info is empty since the fact that we didn't # return early means we at least got a connection and the service is up - report_service(:host => rhost, :port => rport, :name => (ssl ? 'https' : 'http'), :info => info) - + report_service(:host => rhost, :port => rport, :name => (ssl ? 'https' : 'http'), :info => info.dup) info end @@ -1243,3 +1241,4 @@ module Exploit::Remote::HttpServer::PHPInclude end end +