Skip to content

Commit 286b869

Browse files
author
HD Moore
committed
Prefix with host:port for readability
1 parent abb4bdd commit 286b869

File tree

1 file changed

+2
-2
lines changed
  • modules/auxiliary/scanner/http

1 file changed

+2
-2
lines changed

modules/auxiliary/scanner/http/ssl.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,13 +57,13 @@ def run_host(ip)
5757
caissuer = (/CA Issuers - URI:(.*?),/i).match(cert.extensions.to_s)
5858

5959
if caissuer.to_s.empty?
60-
print_good("Certificate contains no CA Issuers extension... possible self signed certificate")
60+
print_good("#{ip}:#{rport} Certificate contains no CA Issuers extension... possible self signed certificate")
6161
else
6262
print_status("#{ip}:#{rport} " +caissuer.to_s[0..-2])
6363
end
6464

6565
if cert.issuer.to_s == cert.subject.to_s
66-
print_good("Certificate Subject and Issuer match... possible self signed certificate")
66+
print_good("#{ip}:#{rport} Certificate Subject and Issuer match... possible self signed certificate")
6767
end
6868

6969
alg = cert.signature_algorithm

0 commit comments

Comments
 (0)