Skip to content

Commit 94fdd4c

Browse files
committed
fix typo
1 parent eea4770 commit 94fdd4c

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

modules/auxiliary/scanner/http/ssl.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ def run_host(ip)
8686
cert.subject.to_a.each do |n|
8787
vhostn = n[1] if n[0] == 'CN'
8888
end
89-
if public_key_size = 1024
89+
if public_key_size == 1024
9090
print_status("#{ip}:#{rport} WARNING: Public Key only 1024 bits")
9191
elsif public_key_size < 1024
9292
print_status("#{ip}:#{rport} WARNING: Weak Public Key: #{public_key_size} bits")

0 commit comments

Comments
 (0)