Sign in to follow this  
Followers 0
Knight

Obfuscator - Obfuscate Scripts

1 post in this topic

#1 ·  Posted (edited)

This is an open source obfuscator I made because I needed more control over EncodeIt. :think:

Currently it will strip all comments, import includes, rename functions, and rename variables. I have designed it to be able to ignore certain variables, includes, function names, from being obfuscated due to the use of Eval() IsDeclared() etc.

It may not be extremely efficient, but it works relatively well. I scripted each section completely seperate and then combined them all into one script. This can be slower, however; bug fixing and optimizing is much easier because each section is dependent only on itself.

Minor Limitations include:

Semi-colons can not be in script unless it initiates a comment; as it will delete the rest of that line.

Bugs:

-Renaming of functions is flawed. If you have a function Line() then it will replace built-in functions like FileWriteLine() with something like FileWriteJDHF3YHUHF(); thus causing an error.

I am sure there are more limitations and probably some bugs as it is impossible to test for every scenario; this is why I leave it open source. Please feel free to optimize, add to, or debug the script and post modifications here. I will gladly put your name as an author and update this post with the new, more efficient script.

Thanks to:

Celeri for creating _StripComments() UDF

taurus905

Requires Beta

UPDATES:

-Fixed Bug with renaming Functions.

CODE
; ----------------------------------------------------------------------------

;

; AutoIt Version: 3.1.1.120

; Author(s): Knight

;

;Thanks to: Celeri, taurus905

;

; Script Function:

; Open Source Obfuscator

; -Imports all Includes, -Renames Variables, -Renames Functions

;

;In Development:

; -Obfuscate Numbers and Strings

; ----------------------------------------------------------------------------

Obfuscate.au3

Edited by Knight

Share this post


Link to post
Share on other sites



Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0