Skip to content

Commit 55ec969

Browse files
author
Sebastiano Di Paola
committed
Renamed FILTER -> DUMPFILTER, more intuitive and coherent
1 parent 8268009 commit 55ec969

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

modules/auxiliary/scanner/ssl/openssl_heartbleed.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ def initialize
123123
OptEnum.new('STARTTLS', [true, 'Protocol to use with STARTTLS, None to avoid STARTTLS ', 'None', [ 'None', 'SMTP', 'IMAP', 'JABBER', 'POP3', 'FTP' ]]),
124124
OptEnum.new('TLSVERSION', [true, 'TLS version to use', '1.0', ['1.0', '1.1', '1.2']]),
125125
OptBool.new('STOREDUMP', [true, "Store leaked memory in a file", false]),
126-
OptRegexp.new('FILTER', [false, "Pattern to filter leaked memory before storing", nil])
126+
OptRegexp.new('DUMPFILTER', [false, "Pattern to filter leaked memory before storing", nil])
127127
], self.class)
128128

129129
register_advanced_options(
@@ -295,7 +295,7 @@ def run_host(ip)
295295
:info => "Module #{self.fullname} successfully leaked info"
296296
})
297297
if datastore['STOREDUMP']
298-
pattern = datastore['FILTER']
298+
pattern = datastore['DUMPFILTER']
299299
if pattern
300300
match_data = heartbeat_data.scan(pattern).join('')
301301
else

0 commit comments

Comments
 (0)