1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-10-09 04:26:11 +02:00

msfvenom psh addition

This commit is contained in:
RageLtMan 2012-01-25 07:59:38 -05:00
parent 9a5d8ead7e
commit e69fcd1a83

View File

@ -446,8 +446,11 @@ when /war/i
else
exe = Msf::Util::EXE.to_jsp_war(exe)
end
$stdout.write exe
when 'psh'
psh = Msf::Util::EXE.to_win32pe_psh(framework, code, exeopts)
$stdout.write exe
$stdout.write psh
else
print_error("Unsupported format")
exit