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 eea4770 commit 94fdd4cCopy full SHA for 94fdd4c
modules/auxiliary/scanner/http/ssl.rb
@@ -86,7 +86,7 @@ def run_host(ip)
86
cert.subject.to_a.each do |n|
87
vhostn = n[1] if n[0] == 'CN'
88
end
89
- if public_key_size = 1024
+ if public_key_size == 1024
90
print_status("#{ip}:#{rport} WARNING: Public Key only 1024 bits")
91
elsif public_key_size < 1024
92
print_status("#{ip}:#{rport} WARNING: Weak Public Key: #{public_key_size} bits")
0 commit comments