Renamed PATTERN_FILTER -> FILTER
parent
c378fe95c1
commit
8268009b36
|
@ -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('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']]),
|
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]),
|
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)
|
], self.class)
|
||||||
|
|
||||||
register_advanced_options(
|
register_advanced_options(
|
||||||
|
@ -295,7 +295,7 @@ class Metasploit3 < Msf::Auxiliary
|
||||||
:info => "Module #{self.fullname} successfully leaked info"
|
:info => "Module #{self.fullname} successfully leaked info"
|
||||||
})
|
})
|
||||||
if datastore['STOREDUMP']
|
if datastore['STOREDUMP']
|
||||||
pattern = datastore['PATTERN_FILTER']
|
pattern = datastore['FILTER']
|
||||||
if pattern
|
if pattern
|
||||||
match_data = heartbeat_data.scan(pattern).join('')
|
match_data = heartbeat_data.scan(pattern).join('')
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue