diff --git a/modules/auxiliary/scanner/ssl/openssl_heartbleed.rb b/modules/auxiliary/scanner/ssl/openssl_heartbleed.rb index f8ee44a401..aa05cd0d43 100644 --- a/modules/auxiliary/scanner/ssl/openssl_heartbleed.rb +++ b/modules/auxiliary/scanner/ssl/openssl_heartbleed.rb @@ -256,9 +256,9 @@ class Metasploit3 < Msf::Auxiliary def run_host(ip) case action.name when 'SCAN' - scan(bleed) + loot_and_report(bleed) when 'DUMP' - scan(bleed) # Scan & Dump are similar, scan() records results + loot_and_report(bleed) # Scan & Dump are similar, scan() records results when 'KEYS' getkeys() else @@ -313,7 +313,7 @@ class Metasploit3 < Msf::Auxiliary heartbeat_data end - def scan(heartbeat_data) + def loot_and_report(heartbeat_data) if heartbeat_data print_good("#{peer} - Heartbeat response with leak") report_vuln({