Pepitoh / VBad

VBA Obfuscation Tools combined with an MS office document generator
MIT License
531 stars 129 forks source link

Not defined Sub or Function #34

Closed zeal0t35 closed 7 years ago

zeal0t35 commented 7 years ago

After generate the files, this message popups when i open the .doc

imagen

upload the vbas and the const.py const.py.txt orignal_vba.txt original_vba_prepared.txt

Please help me. Thanks in advice

Pepitoh commented 7 years ago

Hi,

Just keep your "Debugging()" function in original_vba_prepared.txt: original_vba_prepared (1).txt

You should delete references to Autoopen or Document_open() function in your prepared vba, VBAd will automaticly included good autopen function related to the document you are creating, it sometimes messes up when you try to add others autotrigger function.

Try this and let met know if it works.

Pepitoh.

zeal0t35 commented 7 years ago

Thanks Pepitoh, I've deleted all references to the AutoOpen and DocumentOpen. In fact i've used the txt you uploaded. Then generate file OK, imagen but same error is rising. imagen

zeal0t35 commented 7 years ago

UPDATE: I've changed the powershell to another (in txt file attached), and now getting this error.

imagen

original_vba_prepared.txt

Thanks.

Pepitoh commented 7 years ago

hi @zeal0t35,

So there are many problems relative to your issue, I manage to, I think, fix them all :

Hope it helps, you can find a prepared_vba of your vba code that works perfectly on my laptop : original_vba_prepared.txt

Pepitoh.

zeal0t35 commented 7 years ago

Pepitoh: Thank you very much for your reply. Clear as the water 👍 Saludos, zeal0t