Duplicate the report info string

git-svn-id: file:///home/svn/framework3/trunk@9825 4d416f70-5f16-0410-b530-b9f4589650da
unstable
HD Moore 2010-07-14 17:06:44 +00:00
parent 5c2f104ade
commit 7710528432
1 changed files with 2 additions and 3 deletions

View File

@ -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