Duplicate the report info string
git-svn-id: file:///home/svn/framework3/trunk@9825 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
5c2f104ade
commit
7710528432
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue