Revert "fix regex anchoring"

This reverts commit a85e6aacf3.
unstable
Brandon Perry 2013-06-12 18:05:19 -05:00
parent a85e6aacf3
commit e880201a44
1 changed files with 1 additions and 1 deletions

View File

@ -427,7 +427,7 @@ if opts[:format] !~/ruby|rb|perl|pl|bash|sh|c|csharp|js|dll|elf/i
end
case opts[:format]
when /^ruby$|^rb$|^perl$|^pl$|^bash$|^sh$|^c$|^csharp$|^js_le$|^raw$|^py$/i
when /ruby|rb|perl|pl|bash|^sh$|^c$|^csharp$|js_le|raw|^py/i
$stdout.write Msf::Simple::Buffer.transform(payload_raw, opts[:format])
when /asp$/
asp = Msf::Util::EXE.to_win32pe_asp($framework, payload_raw, exeopts)