Skip to content

Commit 1e90f71

Browse files
committed
Landing rapid7#1826 - Add Python format support to msfvenom
2 parents 41e9f35 + 00fd001 commit 1e90f71

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
@@ -428,7 +428,7 @@ if opts[:format] !~/ruby|rb|perl|pl|bash|sh|c|js|dll|elf/i
428428
end
429429

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

0 commit comments

Comments
 (0)