BadAssMacros
BadAssMacros copied to clipboard
Too many line continuations erro in the VBA when copying the final vba shellcode output.
Great work there. Would you be able to advise, how to resolve "Too many line continuations" error in the Macrs VBA app? new to vba and trying to understand this ;) student so be gentle on me hehehe
If you can provide an example of the command you're running it'll help with finding the cause.
Thanks Podjackel, Here it's BadAssMacros.exe -i example.bin -w doc -p no -s classic -c 5 -o c:\temp\test.vba
thank you :)
Hey @Neilhoman and @Inf0secRabbit ,
I got exactly the same issue. Word 2019. I am going to check with Word 2016 and Excel asap.
Just checked Word 2016 and Excel 2016. The same problem.
@Inf0secRabbit what version of Office does your tool support, please?
Heyy @0xElessar
Actually the issue is not really on specific versions, it will not let you insert the shellcode if it exceeds 25 lines. We are trying to solve this issue, expect the fix in the coming few weeks.
Cheers :)
Cool. Thanks a lot, @Inf0secRabbit !
got the same issue...
It appears that this issue still persists unfortunately.
@Inf0secRabbit you could concatenate smaller shellcode arrays rather than creating a big one that break the line continuation rule.
@Inf0secRabbit you could concatenate smaller shellcode arrays rather than creating a big one that break the line continuation rule.
Hey,
Yea we actually tried that, by storing it in multiple arrays and concatenating. But unfortunately the issue still persist and due to work we haven't been able to keep up with this :( if you have the solution hmu and open up a PR would be happy to look at it :)
@Inf0secRabbit unfortunately I am not a C sharp
guy but this limitation is greatly restricting the scope of usable payloads. Would be super if you could look into this.