Skip to content

Commit d9dad31

Browse files
committed
Land rapid7#2129 - Allow "python" format
2 parents 757cf18 + 015ca6b commit d9dad31

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
@@ -440,7 +440,7 @@ if opts[:format] !~/^(ruby|rb|perl|pl|bash|sh|c|csharp|js|dll|elf)$/i
440440
end
441441

442442
case opts[:format]
443-
when /^(ruby|rb|perl|pl|bash|sh|c|csharp|js_le|raw|py)$/i
443+
when /^(ruby|rb|perl|pl|bash|sh|c|csharp|js_le|raw|python|py)$/i
444444
$stdout.write Msf::Simple::Buffer.transform(payload_raw, opts[:format])
445445
when /^asp$/
446446
asp = Msf::Util::EXE.to_win32pe_asp($framework, payload_raw, exeopts)

0 commit comments

Comments
 (0)