Skip to content

Commit fab091c

Browse files
committed
Fix Action => DUMP
Fix for when Action is set to DUMP. Modifed the check to use action.name. Console output: msf auxiliary(openssl_heartbleed) > set action DUMP action => DUMP msf auxiliary(openssl_heartbleed) > run [*] 192.168.1.3:443 - Sending Client Hello... [*] 192.168.1.3:443 - Sending Heartbeat... [*] 192.168.1.3:443 - Heartbeat response, 17403 bytes [+] 192.168.1.3:443 - Heartbeat response with leak [*] 192.168.1.3:443 - Heartbeat data stored in /root/.msf4/loot/20140418070745_default_192.168.1.3_openssl.heartble_135938.bin [*] 192.168.1.3:443 - Printable info leaked: STUFF STUFF STUFF [*] Scanned 1 of 1 hosts (100% complete) [*] Auxiliary module execution completed
1 parent 1cf1616 commit fab091c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/scanner/ssl/openssl_heartbleed.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ def loot_and_report(heartbeat_data)
351351
:refs => self.references,
352352
:info => "Module #{self.fullname} successfully leaked info"
353353
})
354-
if datastore['MODE'] == 'DUMP' # Check mode, dump if requested.
354+
if action.name == 'DUMP' # Check mode, dump if requested.
355355
pattern = datastore['DUMPFILTER']
356356
if pattern
357357
match_data = heartbeat_data.scan(pattern).join

0 commit comments

Comments
 (0)