Fixed call to String.match with regexp pattern

bug/bundler_fix
Sebastiano Di Paola 2014-04-11 18:59:59 +02:00
parent 638cb41a3f
commit f8f710547c
1 changed files with 1 additions and 1 deletions

View File

@ -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