Metasploit mailing list archives

Re: exe2vba Word Macro Problem


From: c0lists <lists () carnal0wnage com>
Date: Thu, 12 Aug 2010 12:12:14 -0400

it will also thrown an error if you run it once and try to run it
again and the binary is still running

On Wed, Aug 11, 2010 at 3:19 PM, Rob Fuller <mubix () room362 com> wrote:
Save it in 2003 Compatibility Mode and you'll be fine. It's a quirk with
2007 and the docx/docm formats.

--
Rob Fuller | Mubix
Room362.com | Hak5.org


On Wed, Aug 11, 2010 at 1:47 PM, Craig Freyman <craigfreyman () gmail com>
wrote:

Created a meterpreter payload and converted it to vba using the exe2vba
tool. I am putting the code into a word doc as a macro. I can run the macro
just fine by running it manually. However, when opening the document I get a
"Run-time" error '13': Type mismatch" error. It brings me to this line in
the code:
Zhced6 = Mid(Zhced11, Zhced8, 4)
Any idea why this throws an error when the doc is open?
_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework



_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework


_______________________________________________
https://mail.metasploit.com/mailman/listinfo/framework


Current thread: