From 9d076f684245ead16667195262b85b6ff20ad390 Mon Sep 17 00:00:00 2001 From: Brent Cook Date: Thu, 29 Mar 2018 11:23:08 -0500 Subject: [PATCH] Land #9776, if data is nil, stop reading the heartbleed socket --- modules/auxiliary/scanner/ssl/openssl_heartbleed.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/auxiliary/scanner/ssl/openssl_heartbleed.rb b/modules/auxiliary/scanner/ssl/openssl_heartbleed.rb index 5544f83e2d..8c50c2ec57 100644 --- a/modules/auxiliary/scanner/ssl/openssl_heartbleed.rb +++ b/modules/auxiliary/scanner/ssl/openssl_heartbleed.rb @@ -695,7 +695,7 @@ class MetasploitModule < Msf::Auxiliary end len = hdr.unpack('Cnn')[2] - data = get_data(len) + data = get_data(len) unless len.nil? unless data vprint_error("No SSL record contents received after #{response_timeout} seconds...")