Pepitoh / VBad

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

Feeding VBS script? #28

Closed danthegoodman1 closed 7 years ago

danthegoodman1 commented 7 years ago

Is there anyway that I can just feed this VBS script? Or does the VBS script already need to be in a document? Also, I am getting Traceback (most recent call last): File "VBad.py", line 3, in <module> import win32com.client, os ImportError: No module named win32com.client every time I try to run it, even with using the default VBS script and word docs

peneviper commented 7 years ago

got same error

Pepitoh commented 7 years ago

Hi guys,

Did you install pywin32? : https://sourceforge.net/projects/pywin32/ If yes, check your PATH and see if your module is installed correctly. You need this lib to use Office API.

danthegoodman1 commented 7 years ago

Just installed it, testing now. Is there any way that this can work without having word/excel? Maybe instead of injecting it into the word/excel document for you it can just make another vbs file with the obfuscated and encrypted macro. Then it would just be an easy copy and paste into the word/excel document (and office then doesn't have to be installed on what ever machine).

danthegoodman1 commented 7 years ago

I am now getting the following error with all default files (just downloaded and ran) capture

danthegoodman1 commented 7 years ago

And after running it again, I get this error: capture1