Skip to content

Commit 6c832e2

Browse files
committed
rename scan to loot_and_report
1 parent c12eae6 commit 6c832e2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

modules/auxiliary/scanner/ssl/openssl_heartbleed.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,9 +256,9 @@ def tls_ftp
256256
def run_host(ip)
257257
case action.name
258258
when 'SCAN'
259-
scan(bleed)
259+
loot_and_report(bleed)
260260
when 'DUMP'
261-
scan(bleed) # Scan & Dump are similar, scan() records results
261+
loot_and_report(bleed) # Scan & Dump are similar, scan() records results
262262
when 'KEYS'
263263
getkeys()
264264
else
@@ -313,7 +313,7 @@ def bleed()
313313
heartbeat_data
314314
end
315315

316-
def scan(heartbeat_data)
316+
def loot_and_report(heartbeat_data)
317317
if heartbeat_data
318318
print_good("#{peer} - Heartbeat response with leak")
319319
report_vuln({

0 commit comments

Comments
 (0)