Metasploit mailing list archives

Re: exe2vba Word Macro Problem


From: Rob Fuller <mubix () room362 com>
Date: Wed, 11 Aug 2010 15:19:27 -0400

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

Current thread: