Sign in to follow this  
Followers 0
hot202

How to use built in obfuscator

28 posts in this topic

#1 ·  Posted (edited)

Hey guys im trying to obfuscator my script i go to the obfuscator tab im not really sure what to add i tryed /striponly /cs and heaps but its not doing anything to my script it creates a blank script thats it. Can some 1 please tellme how to use it?

i get this error

!>14:26:03 Aut2exe.exe ended errors because the target exe wasn't created, abandon build.rc:9999

Edited by hot202

Share this post


Link to post
Share on other sites



You didn't forget to check the Run Obfuscator before compilation. check box didn't you? Also, it should not obfuscate the original script, just create a new one named original_script_name Script_Obfuscated.au3.

Share this post


Link to post
Share on other sites

nah i ticked that and it makes a new scriptthat is 0 bytes

Share this post


Link to post
Share on other sites

am i stillment to add this to the user properties even if its a built in obfuscator to Autoit3Wrapper?

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

Share this post


Link to post
Share on other sites

Can you go to the output pane and run the following line:

"$(SciteDefaultHome)\Obfuscator\Obfuscator.exe" "$(FilePath)"

Post the results please, if you don't mind.

Share this post


Link to post
Share on other sites

output pane? where is that lol

Share this post


Link to post
Share on other sites

Check you're running full version SciTE. The output pane is at the bottom of the editor, where all there output goes when you compile/run/check/... you scripts.

Share this post


Link to post
Share on other sites

how do i run "$(SciteDefaultHome)\Obfuscator\Obfuscator.exe" "$(FilePath)" in the output box :S

Share this post


Link to post
Share on other sites

Copy it and press enter/return. >_

Share this post


Link to post
Share on other sites

>"D:\Program Files\AutoIt3\SciTE\Obfuscator\Obfuscator.exe" "C:\Documents and Settings\Nathan\Desktop\test.au3"

>Exit code: -1073741819 Time: 0.332

Share this post


Link to post
Share on other sites

OK seems like something is wrong. Can you go to your Obfuscator folder and open the Obfuscator.log file and post the last few lines?

Share this post


Link to post
Share on other sites

0.06 ==> Start Add_Include: Include_Rec$:#include <StaticConstants.au3>

0.06 ==> Loading Include file into source Array:d:\program files\autoit3\include\staticconstants.au3

0.06 ==> Start Add_Include: Include_Rec$:#include <TabConstants.au3>

0.06 ==> Loading Include file into source Array:d:\program files\autoit3\include\tabconstants.au3

0.06 ==> Start Add_Include: Include_Rec$:#include <WindowsCo

Share this post


Link to post
Share on other sites

#13 ·  Posted (edited)

Sorry, moi mistake. Go clear your log file by deleting anything it contains (back it up first) and run the Obfuscator again, then post it's content, everything in it.

Edit: If you got any sensitive information in your original script, use another example script and post the log content.

Edited by Authenticity

Share this post


Link to post
Share on other sites

#14 ·  Posted (edited)

thats all of the log it looks a lil small or missing something?

0.00 AutoIt3 Source Obfuscator v1.0.26.13   Copyright © Jos van der Zande  May 27, 2009
0.00 CommandLine  Params$:
0.00 ============================== Reading Source For Directive ======================================================
0.00 Ignore Function: onautoitstart
0.00 Ignore Function: onautoitexit
0.00 Directive  Params$:/cs 
0.00  CMD$:/cs
0.00  ConvStrings%: 1
0.00 ############################## Starting #######################################################################
0.00 ### Processing file:D:\Program Files\AutoIt3\SciTE\Obfuscator\test.au3
0.00 Special Function: Functionname   Parameter:-1   ParameterType: 0 (0=Func/1=Var)
0.00 Special Function: adlibenable   Parameter: 0   ParameterType: 0 (0=Func/1=Var)
0.00 Special Function: adlibregister   Parameter: 0   ParameterType: 0 (0=Func/1=Var)
0.00 Special Function: call   Parameter: 0   ParameterType: 0 (0=Func/1=Var)
0.00 Special Function: dllcallbackregister   Parameter: 0   ParameterType: 0 (0=Func/1=Var)
0.00 Special Function: eval   Parameter: 0   ParameterType: 1 (0=Func/1=Var)
0.00 Special Function: guictrlregisterlistviewsort   Parameter: 1   ParameterType: 0 (0=Func/1=Var)
0.00 Special Function: guictrlsetonevent   Parameter: 1   ParameterType: 0 (0=Func/1=Var)
0.00 Special Function: guiregistermsg   Parameter: 1   ParameterType: 0 (0=Func/1=Var)
0.00 Special Function: guisetonevent   Parameter: 1   ParameterType: 0 (0=Func/1=Var)
0.00 Special Function: hotkeyset   Parameter: 1   ParameterType: 0 (0=Func/1=Var)
0.00 Special Function: isdeclared   Parameter: 0   ParameterType: 1 (0=Func/1=Var)
0.00 Special Function: objevent   Parameter: 1   ParameterType: 0 (0=Func/1=Var)
0.00 Special Function: opt   Parameter: 1   ParameterType: 0 (0=Func/1=Var)
0.00 Special Function: traysetonevent   Parameter: 1   ParameterType: 0 (0=Func/1=Var)
0.00 Special Function: trayitemsetonevent   Parameter: 1   ParameterType: 0 (0=Func/1=Var)
0.00 RandomStringFuncName$:A010000252B
0.00  Find AutoIt3 program directory:
0.00  Found AutoIt3 program in two-directory level up from Obfuscator.
0.00 IncludeDirs$: 0->D:\Program Files\AutoIt3\include\
0.00 IncludeDirs$: 1->D:\Program Files\AutoIt3\SciTE\Obfuscator\
0.00 ============================== Reading Source into Array ======================================================
0.06 ==> Start Add_Include:  Include_Rec$:#include <ButtonConstants.au3>
0.06 ==> Loading Include file into source Array:d:\program files\autoit3\include\buttonconstants.au3
0.06 ==> Start Add_Include:  Include_Rec$:#include <GUIConstantsEx.au3>
0.06 ==> Loading Include file into source Array:d:\program files\autoit3\include\guiconstantsex.au3
0.06 ==> Start Add_Include:  Include_Rec$:#include <StaticConstants.au3>
0.06 ==> Loading Include file into source Array:d:\program files\autoit3\include\staticconstants.au3
0.06 ==> Start Add_Include:  Include_Rec$:#include <TabConstants.au3>
0.06 ==> Loading Include file into source Array:d:\program files\autoit3\include\tabconstants.au3
0.06 ==> Start Add_Include:  Include_Rec$:#include <WindowsConstants.
Edited by hot202

Share this post


Link to post
Share on other sites

#15 ·  Posted (edited)

It's not the whole story I guess. I'm sorry if I'm driving you crazy heh >_<.

Delete the content again. Try obfucating the following script within a new fresh au3 script file.

MsgBox(0x40, 'Title', 'Text')

Make sure the script is saved before you run the Obfuscator, i.e. there is not asterisk (*) in the SciTE title bar. Also, clean the log file again and then run and post the log, or upload the file instead of posting it. It should be about ~4KB file.

Edit: Although there are no issues using Obfuscator and AutoIt v3.3.1.0 I know of.. but, maybe you're using v3.3.1.0?

Edited by Authenticity

Share this post


Link to post
Share on other sites

ok that worked that time and created the new script aswell so wy dont it work with my script?

0.00 AutoIt3 Source Obfuscator v1.0.26.13   Copyright © Jos van der Zande  May 27, 2009
0.00 CommandLine  Params$:
0.00 ============================== Reading Source For Directive ======================================================
0.00 Ignore Function: onautoitstart
0.00 Ignore Function: onautoitexit
0.00 Directive  Params$:/cs 
0.00  CMD$:/cs
0.00  ConvStrings%: 1
0.00 ############################## Starting #######################################################################
0.00 ### Processing file:D:\Program Files\AutoIt3\SciTE\Obfuscator\msgboxtest.au3
0.06 Special Function: Functionname   Parameter:-1   ParameterType: 0 (0=Func/1=Var)
0.06 Special Function: adlibenable   Parameter: 0   ParameterType: 0 (0=Func/1=Var)
0.06 Special Function: adlibregister   Parameter: 0   ParameterType: 0 (0=Func/1=Var)
0.06 Special Function: call   Parameter: 0   ParameterType: 0 (0=Func/1=Var)
0.06 Special Function: dllcallbackregister   Parameter: 0   ParameterType: 0 (0=Func/1=Var)
0.06 Special Function: eval   Parameter: 0   ParameterType: 1 (0=Func/1=Var)
0.06 Special Function: guictrlregisterlistviewsort   Parameter: 1   ParameterType: 0 (0=Func/1=Var)
0.06 Special Function: guictrlsetonevent   Parameter: 1   ParameterType: 0 (0=Func/1=Var)
0.06 Special Function: guiregistermsg   Parameter: 1   ParameterType: 0 (0=Func/1=Var)
0.06 Special Function: guisetonevent   Parameter: 1   ParameterType: 0 (0=Func/1=Var)
0.06 Special Function: hotkeyset   Parameter: 1   ParameterType: 0 (0=Func/1=Var)
0.06 Special Function: isdeclared   Parameter: 0   ParameterType: 1 (0=Func/1=Var)
0.06 Special Function: objevent   Parameter: 1   ParameterType: 0 (0=Func/1=Var)
0.06 Special Function: opt   Parameter: 1   ParameterType: 0 (0=Func/1=Var)
0.06 Special Function: traysetonevent   Parameter: 1   ParameterType: 0 (0=Func/1=Var)
0.06 Special Function: trayitemsetonevent   Parameter: 1   ParameterType: 0 (0=Func/1=Var)
0.06 RandomStringFuncName$:A350000111C
0.06  Find AutoIt3 program directory:
0.06  Found AutoIt3 program in two-directory level up from Obfuscator.
0.06 IncludeDirs$: 0->D:\Program Files\AutoIt3\include\
0.06 IncludeDirs$: 1->D:\Program Files\AutoIt3\SciTE\Obfuscator\
0.06 ============================== Reading Source into Array ======================================================
0.19 ### Listing included files ###
0.19 ============================== Start Pre-processing ===========================================================
0.19 Pre-processing record: 1
0.19 Pre-processed 4 records.
0.19 ============================== Start Processing ==============================================================
0.19 Processing record: 1
0.19 Skip directive:#Region ;**** Directives created by AutoIt3Wrapper_GUI ****
0.19 Skip directive:#AutoIt3Wrapper_Run_Obfuscator=y
0.19 Skip directive:#Obfuscator_Parameters=/cs
0.19 Skip directive:#EndRegion ;**** Directives created by AutoIt3Wrapper_GUI ****
0.19 Org: 4-MsgBox(0x40, 'Title', 'Text') 
0.19 New: 4-MsgBox(Number($A390010551F), $A4000203249, $A5800303452)
0.19 closed files.
0.19 Start copying the Obfuscated Tempfile to final ScriptFile
0.19 Writing record: 1
0.19 End copying the Obfuscated Tempfile to final ScriptFile
0.19 ============================== Func and Variable Conversion list ========================================
0.19 Found Variables:|
0.19 Found Functions:|
0.19 =========================================================================================================
+> Obfuscator v1.0.26.13 finished obfuscating 33 lines, stripped 4 comment lines. created:D:\Program Files\AutoIt3\SciTE\Obfuscator\msgboxtest_Obfuscated.au3
0.19 ############################## Done #####################################################################

Share this post


Link to post
Share on other sites

Now it's your task to find what is logically incorrect in your original script. Try running Au3Check on your script to see if there are no syntax errors.

Share this post


Link to post
Share on other sites

ok so its cos there something wrong with my script? can u have fileinstall and run in your script when u use obfuscator?

Share this post


Link to post
Share on other sites

Au3Check dosnt find anything wrong with it.

Share this post


Link to post
Share on other sites

#20 ·  Posted (edited)

If you script can compile without errors (without Obfuscator) then I guess something is wrong with Obfucator, but I doubt that this is the case. Can you successfully compile the script without obfuscating is?

Edited by Authenticity

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