Landing #1826 - Add Python format support to msfvenom

unstable
sinn3r 2013-05-14 14:50:12 -05:00
commit 1e90f71360
1 changed files with 1 additions and 1 deletions

View File

@ -428,7 +428,7 @@ if opts[:format] !~/ruby|rb|perl|pl|bash|sh|c|js|dll|elf/i
end end
case opts[:format] 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]) $stdout.write Msf::Simple::Buffer.transform(payload_raw, opts[:format])
when /asp$/ when /asp$/
asp = Msf::Util::EXE.to_win32pe_asp($framework, payload_raw, exeopts) asp = Msf::Util::EXE.to_win32pe_asp($framework, payload_raw, exeopts)