hot202 Posted August 27, 2009 Posted August 27, 2009 (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 August 27, 2009 by hot202
Authenticity Posted August 27, 2009 Posted August 27, 2009 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.
hot202 Posted August 27, 2009 Author Posted August 27, 2009 nah i ticked that and it makes a new scriptthat is 0 bytes
hot202 Posted August 27, 2009 Author Posted August 27, 2009 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
Authenticity Posted August 27, 2009 Posted August 27, 2009 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.
Authenticity Posted August 27, 2009 Posted August 27, 2009 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.
hot202 Posted August 27, 2009 Author Posted August 27, 2009 how do i run "$(SciteDefaultHome)\Obfuscator\Obfuscator.exe" "$(FilePath)" in the output box :S
hot202 Posted August 27, 2009 Author Posted August 27, 2009 >"D:\Program Files\AutoIt3\SciTE\Obfuscator\Obfuscator.exe" "C:\Documents and Settings\Nathan\Desktop\test.au3" >Exit code: -1073741819 Time: 0.332
Authenticity Posted August 27, 2009 Posted August 27, 2009 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?
hot202 Posted August 27, 2009 Author Posted August 27, 2009 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
Authenticity Posted August 27, 2009 Posted August 27, 2009 (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 August 27, 2009 by Authenticity
hot202 Posted August 27, 2009 Author Posted August 27, 2009 (edited) thats all of the log it looks a lil small or missing something? expandcollapse popup0.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 August 27, 2009 by hot202
Authenticity Posted August 27, 2009 Posted August 27, 2009 (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 August 27, 2009 by Authenticity
hot202 Posted August 27, 2009 Author Posted August 27, 2009 ok that worked that time and created the new script aswell so wy dont it work with my script? expandcollapse popup0.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 #####################################################################
Authenticity Posted August 27, 2009 Posted August 27, 2009 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.
hot202 Posted August 27, 2009 Author Posted August 27, 2009 ok so its cos there something wrong with my script? can u have fileinstall and run in your script when u use obfuscator?
hot202 Posted August 27, 2009 Author Posted August 27, 2009 Au3Check dosnt find anything wrong with it.
Authenticity Posted August 27, 2009 Posted August 27, 2009 (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 August 27, 2009 by Authenticity
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now