diff --git a/modules/auxiliary/scanner/ssl/openssl_heartbleed.rb b/modules/auxiliary/scanner/ssl/openssl_heartbleed.rb index 3f16ceb638..6d4ec58041 100644 --- a/modules/auxiliary/scanner/ssl/openssl_heartbleed.rb +++ b/modules/auxiliary/scanner/ssl/openssl_heartbleed.rb @@ -509,7 +509,7 @@ class MetasploitModule < Msf::Auxiliary # Stores received data def loot_and_report(heartbeat_data) - if heartbeat_data.nil? || heartbeat_data.empty? + if heartbeat_data.to_s.empty? vprint_error("Looks like there isn't leaked information...") return end