Renamed PATTERN_FILTER -> FILTER

bug/bundler_fix
Sebastiano Di Paola 2014-04-11 19:03:25 +02:00
parent c378fe95c1
commit 8268009b36
1 changed files with 2 additions and 2 deletions

View File

@ -123,7 +123,7 @@ class Metasploit3 < Msf::Auxiliary
OptEnum.new('STARTTLS', [true, 'Protocol to use with STARTTLS, None to avoid STARTTLS ', 'None', [ 'None', 'SMTP', 'IMAP', 'JABBER', 'POP3', 'FTP' ]]),
OptEnum.new('TLSVERSION', [true, 'TLS version to use', '1.0', ['1.0', '1.1', '1.2']]),
OptBool.new('STOREDUMP', [true, "Store leaked memory in a file", false]),
OptRegexp.new('PATTERN_FILTER', [false, "Pattern to filter leaked memory before storing", nil])
OptRegexp.new('FILTER', [false, "Pattern to filter leaked memory before storing", nil])
], self.class)
register_advanced_options(
@ -295,7 +295,7 @@ class Metasploit3 < Msf::Auxiliary
:info => "Module #{self.fullname} successfully leaked info"
})
if datastore['STOREDUMP']
pattern = datastore['PATTERN_FILTER']
pattern = datastore['FILTER']
if pattern
match_data = heartbeat_data.scan(pattern).join('')
else