Comments (5)
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.
from vbad.
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,
but same error is rising.
from vbad.
UPDATE: I've changed the powershell to another (in txt file attached), and now getting this error.
Thanks.
from vbad.
hi @zeal0t35,
So there are many problems relative to your issue, I manage to, I think, fix them all :
- First of all I think you misunderstood the markdown implemented for VBad. In your first file, you are for example trying to randomize Dim :
[rdm::15]Dim str As string
Of course, it will cause a crash in your final VBA, you cannot randomize VBA native code, you can only apply rdm to variable or function name. The good way to use it will be :
Dim [rdm::15]str as String
After that, you put exclusion marquers ([!!]) evrywhere in your prepared VBA which makes no sense (unless you want no obfucstion at all, in this case why are you using VBad for😁 ). Exclusion marquer should be used inside of a string you don't want to obfsucate. Example :
[rdm::15]str = "Powershel[!!]"
not[rdm::15] str = [!!]"powershll"
which will have no kind of effect. That is for the first file you sent. - For the second file, the error is because you try to add too long continious string on a VBA document. You need to split it many line (as you did on the first file) in order to make it work.
- Finaly, I also find out that VBad is not very Antivirus compatible
😕 , sometimes, modules are not created because they are deleted by antivirus at creation of the file, try to disable alll you antivirus and try again (it works for me). Disable also hidding module function -by settingdelete_module_name = 0
in const.py for debugginf more easily
Hope it helps, you can find a prepared_vba of your vba code that works perfectly on my laptop :
original_vba_prepared.txt
Pepitoh.
from vbad.
Pepitoh:
Thank you very much for your reply. Clear as the water
Saludos,
zeal0t
from vbad.
Related Issues (20)
- Failed to execute HOT 7
- Feeding VBS script? HOT 5
- Syntax error HOT 6
- How to resolve "Can't create vba module..." error? HOT 2
- Trigger function name test has not been found HOT 1
- editing document breaks macro HOT 1
- Payload fires only once HOT 1
- Error : raise Info(template_file + " was not found.", 0) HOT 1
- how to use HOT 2
- run-time error -2146697211(800c0005) HOT 2
- how do you start this in cmd ? HOT 1
- the owner do not give any full info about this tool HOT 3
- Can't view code in Macro editor HOT 2
- Script not encrypted properly HOT 1
- SyntaxError invalid syntax HOT 1
- error HOT 1
- Make a videoclip please HOT 1
- Hacked facebook tools for Afghanistan HOT 1
- AttributeError: WordObject instance has no attribute 'doc' HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vbad.