Skip to content

Commit 015ca6b

Browse files
committed
Allow python format, as indicated in --help-formats
1 parent 6c59e30 commit 015ca6b

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)