From 6c832e22d650479110f64cbd500deeb606dc11f8 Mon Sep 17 00:00:00 2001 From: Jeff Jarmoc Date: Thu, 17 Apr 2014 15:47:57 -0500 Subject: [PATCH] rename scan to loot_and_report --- modules/auxiliary/scanner/ssl/openssl_heartbleed.rb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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({