Thursday, March 31, 2011

VBScript Compressor / Packer

I'm looking for a VbScript compressor / packer. Basically I want to shorten the VBScript code.

Could you recommend a tool for this?

From stackoverflow
  • I could swear Microsoft had their own tool for VBScript compression/obfuscation a few years back. But now I can't seem to find it.

    Where are you going to use the VBScript? Embedded in a web page or somewhere else?

    dr. evil : It's "script encoder" - http://www.microsoft.com/downloads/details.aspx?familyid=E7877F67-C447-4873-B1B0-21F0626A6329&displaylang=en but it only obfuscates does not shorten the code.
    tyndall : Thanks. I knew I wasn't imagining it. To bad it doesn't compress the code. I also just searched around for VBScript refactoring tools. Couldn't find any. My thought was you could rename the functions (a,b,c,etc...) with this functionality at least.
  • We use http://www.w3compiler.com/ on ASP code - not sure about straight VBScript though, but I'm guessing it is similar so would work.

    dr. evil : I tried with w3compiler but even when I changed the syntax to ASP alike, it can't optimise it for some unknown reasons.

0 comments:

Post a Comment