Skip to content

Commit e880201

Browse files
committed
Revert "fix regex anchoring"
This reverts commit a85e6aa.
1 parent a85e6aa commit e880201

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

msfvenom

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -427,7 +427,7 @@ if opts[:format] !~/ruby|rb|perl|pl|bash|sh|c|csharp|js|dll|elf/i
427427
end
428428

429429
case opts[:format]
430-
when /^ruby$|^rb$|^perl$|^pl$|^bash$|^sh$|^c$|^csharp$|^js_le$|^raw$|^py$/i
430+
when /ruby|rb|perl|pl|bash|^sh$|^c$|^csharp$|js_le|raw|^py/i
431431
$stdout.write Msf::Simple::Buffer.transform(payload_raw, opts[:format])
432432
when /asp$/
433433
asp = Msf::Util::EXE.to_win32pe_asp($framework, payload_raw, exeopts)

0 commit comments

Comments
 (0)