Fixed call to String.match with regexp pattern
parent
638cb41a3f
commit
f8f710547c
|
@ -297,7 +297,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
if datastore['STOREDUMP']
|
||||
pattern = datastore['PATTERN_FILTER']
|
||||
if pattern
|
||||
match_data = heartbeat_data.scan(/#{pattern}/).join('')
|
||||
match_data = heartbeat_data.scan(pattern).join('')
|
||||
else
|
||||
match_data = heartbeat_data
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue