From 0453f7dcc8c7eadba8707bf8b7ab0a5cd819db3b Mon Sep 17 00:00:00 2001 From: scriptjunkie Date: Tue, 24 Jan 2012 22:08:28 -0500 Subject: [PATCH] Add new vba support to msfvenom. --- msfvenom | 3 +++ 1 file changed, 3 insertions(+) diff --git a/msfvenom b/msfvenom index 1b55e4d964..60906ab4fe 100755 --- a/msfvenom +++ b/msfvenom @@ -433,6 +433,9 @@ when /exe/i $stdout.write exe when /exe-small/i when /vba/i + vba = Msf::Util::EXE.to_vba($framework, payload_raw) + $stdout.puts vba +when /vba-exe/i exe = Msf::Util::EXE.to_win32pe($framework, payload_raw) vba = Msf::Util::EXE.to_exe_vba(exe) $stdout.puts vba