Many people have requested an Obfuscator function since Smoke_N stopped
support on his version.
I took the Tidy program, which has all Lexing logic built-in, and created a
separate program called Obfuscator.
Obfuscator will make it a lot harder to read your source code but remember:
Obfuscator doesn't make your source safe!
Ok, now we have this out of the way a few other things:
Obfuscator will:
This is the list of supported parameters to specify on the command line or in the Directive: #Obfuscator_Parameters=:
|
#Autoit3Wrapperr_Run_Obfuscator=y ;Run Obfuscator before compilation. default=n #Obfuscator_Parameters= /Convert_Strings=0 /Convert_Numerics=0 /showconsoleinfo=1 /Beta #Obfuscator_Off ;Stop the Obfuscation process below this line #Obfuscator_On ;Start the Obfuscation process below this line #Obfuscator_Ignore_Funcs= ; Don't convert these Funcs #Obfuscator_Ignore_Variables= ; Don't convert these Variables |
Obfuscator can be run
| command.46.*.au3="$(SciteDefaultHome)\Obfuscator\Obfuscator.exe"
"$(FilePath)" command.name.46.*.au3=Obfuscator command.save.before.46.*.au3=1 command.is.filter.46.*.au3=1 command.shortcut.46.*.au3=Ctrl+Shift+O |
| #Compiler_Run_Obfuscator=y ;Run Obfuscator before compilation. default=n |
AutoIt3Wrapper will first run Au3Check against the original source and when no errors fond it will run Obfuscator.exe to create an encrypted source file, Scriptfile_Obfuscated.au3 in the same directory, containing all source information including all #included files.
This file is then also run through AU3Check to ensure nothing went wrong during conversion.
Then the Scriptfile_Obfuscated.au3 is used by AUT2EXE to create your program.
AutoIt3 Source Obfuscator v?.?.?.? Copyright (c) Jos van der Zande date
-### Obfuscation Warning: Found Eval() statement which will lead to problems running your script.
-### current Func:_ArrayCreate
C:\Program Files\AutoIt3\include\array.au3(101,1) Warning for line:$av_Array[$i_Index] = Eval("v_" & String($i_Index))
-### Obfuscation Warning: Found IsDeclared() statement which could lead to problems running your script.
-### current Func:_About
c:\program files\autoit3\scite\csnippet\csnippet.au3(2182,1) Warning for line:If Not IsDeclared('Cadet_Blue_3') Then Local $Cadet_Blue_3 = 0x7AC5CD
-############################################################################################
-#### Obfuscator Found 2 warning(s)!!!! This means your script could not run properly. ####
-############################################################################################
+Obfuscator finished obfuscating 4025 lines and created:c:\program files\autoit3\scite\csnippet\csnippet_Obfuscated.au3