Add Python format support to msfvenom
parent
96104c5860
commit
00fd00167a
2
msfvenom
2
msfvenom
|
@ -428,7 +428,7 @@ if opts[:format] !~/ruby|rb|perl|pl|bash|sh|c|js|dll|elf/i
|
|||
end
|
||||
|
||||
case opts[:format]
|
||||
when /ruby|rb|perl|pl|bash|^sh$|^c$|js_le|raw/i
|
||||
when /ruby|rb|perl|pl|bash|^sh$|^c$|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)
|
||||
|
|
Loading…
Reference in New Issue