Jump to content

Recommended Posts

Posted (edited)
First I want to thanks to: @Mhz for this scirpt:
 
Secondly I want to thanks to: @trancexx for this scirpt:
 

HOW IT WORKS
First you need build/compile script "Variable_list.au3"
This "Variable_list.exe" must be in the same folder as your script.
 
"DumpDebuging.au3" is a UDF file, must be in the same folder as your script, and you must include them into your script, like this:
#include "DumpDebuging.au3"

EDIT 2013/10/02: to your program you must add, this part :

#AutoIt3Wrapper_Run_Before=Variable_list.exe %in%

it uses the "Variable_list.exe" on a script that invoked it.

EDIT 2013/10/02:  "You must compile your program to use this AutoIt3Wrapper directive"

"Variable_list.exe" It analyzes the calling script, finds global variables and creates a list:

#region Global and Local "Variable List Declaration"
Global $_sGlobalVariableList = ""
$_sGlobalVariableList &= "$array|$binary|$bool|$false|$float|"
$_sGlobalVariableList &= "$hex|$hwnd|$int|$keyword|$number|"
$_sGlobalVariableList &= "$ptr|$string|$struct|$true"

#endregion Global and Local "Variable List Declaration"

In addition, for each Functions, add the following call:

_Func_Start("Function Name")
_Func_End("Function Name")

Example of use presents "test_DumpDebuging.au3"

EDIT 2013/10/02: to use this example you must compile them (required to use AutoIt3Wrapper directive)

Compared with the previous version, which can be found here:
 
This script contains a number of changes, including changes in the naming of variables and functions.
In addition, several new features were added, and remodeling general behavior.
 
That is why I decided to create a separate thread in this part of the forum.
 


EDIT 2013/10/01: attached files have been modified, just cleaned.


EDIT 2013/10/03: attached files have been modified, removed bug and added UDF Header Description.


EDIT 2013/10/07   20:59: Updated: "Variable_list.au3": Improved way of adding function calls:

_Func_Start ("Function Name")
_Func_End ("Function Name")
 

DumpDebuging.au3

test_DumpDebuging.au3

Variable_list.au3

Edited by mlipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

I compiled Variable_list.au3, put the DumpDebuging.au3 and the test on my desktop.  Ran the example and got this error message: warning: $_sGlobalVariableList: possibly used before declaration.

I see that $_sGlobalVariableList was once declared as a global inside of a function but then it was commented out. 

Posted (edited)

you mean this

If IsDeclared('_sGlobalVariableList') <> 1 Then
    Assign('_sGlobalVariableList', '', 2) ; Force creation in global scope
;~  Global $_sGlobalVariableList = ''
EndIf
This comment is a remnant of the tests.
This one line can be removed.
 
 

You say
"I compiled Variable_list.au3, put the DumpDebuging.au3 and the test on my desktop"
 
Where you put Variable_list.exe ?
 
If other files threw the desktop, this file also should be there, and your speech is not clear, and that is why I'm asking.
 
The program: Variable_list.exe is add to a script calling the following parts:
 
#region Global and Local "Variable List Declaration"
Global $_sGlobalVariableList = ""
$_sGlobalVariableList &= "$array|$binary|$bool|$false|$float|"
$_sGlobalVariableList &= "$hex|$hwnd|$int|$keyword|$number|"
$_sGlobalVariableList &= "$ptr|$string|$struct|$true"

#endregion Global and Local "Variable List Declaration"

and all function calls such as:

_Func_Start(....
_Func_End(....


by the way

in DumpDebuging.au3  please comment this 

;~  If $__fDump_RegisteredExitDisplay_all_data Then
;~      _ArrayDisplay($array, '$array')
;~  EndIf

or just wait a moment i change my script in a few minutes

This 3 line was for testing, not finished yet

Edited by mlipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

I compiled variable_list and put it on my desktop along with test_DumpDebuging.au3 and DumpDebuging.au3.  I then pressed alt+F5 and this is the error messgae in its entirety:

>"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /run /beta /ErrorStdOut /in "C:\Users\Matthew\Desktop\test_DumpDebuging.au3" /UserParams    
+>19:02:46 Starting AutoIt3Wrapper v.2.1.2.29 SciTE v.3.3.5.0 ;  Keyboard:00000409  OS:WIN_7/Service Pack 1  CPU:X64 OS:X64    Environment(Language:0409  Keyboard:00000409  OS:WIN_7/Service Pack 1  CPU:X64 OS:X64)
>Running AU3Check (3.3.9.21)  params:-q -d -w 1 -w 2 -w 3 -w- 4 -w 5 -w 6 -w- 7  from:C:\Program Files (x86)\AutoIt3\Beta
"C:\Users\Matthew\Desktop\DumpDebuging.au3"(194,50) : warning: $_sGlobalVariableList: possibly used before declaration.
    $__content = StringReplace($_sGlobalVariableList,
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
"C:\Users\Matthew\Desktop\DumpDebuging.au3"(194,50) : error: $_sGlobalVariableList: undeclared global variable.
    $__content = StringReplace($_sGlobalVariableList,
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
C:\Users\Matthew\Desktop\test_DumpDebuging.au3 - 1 error(s), 1 warning(s)
!>19:02:48 AU3Check ended. Press F4 to jump to next error.rc:2
>Exit code: 2    Time: 1.742
Posted (edited)

I do some test and found where is an issue.

Do not try to run this (ALT+F5) 

Just compile them (ALT+F7) because this directive:

#AutoIt3Wrapper_Run_Before=Variable_list.exe %in%

must be used, and is used only in compile process.

 

EDIT:

issue was in my description becasue I do not say: "you must compile your program to use this AutoIt3Wrapper directive"

EDIT2:

check the OP, I edit them. I think it's now more accurate..

Edited by mlipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

OK, compiled test_DumpDebuging.au3 and now I have this error after having pressed OK a number of times.  Line 15915 Error: Array variable has incorrect number of subscripts or subscript dimension rnage exceeded.  Also, this is the output:

_ListofGLobalVariables

TYPE  VARIABLE  VALUE

====   ========   =====

===============================

Functions

Posted

And when you use F4 what line is show to you ?

give it to me .


Please also check if to "test_DumpDebuging.au3", has been added this content:

#region Global and Local "Variable List Declaration"
Global $_sGlobalVariableList = ""
$_sGlobalVariableList &= "$array|$binary|$bool|$false|$float|"
$_sGlobalVariableList &= "$hex|$hwnd|$int|$keyword|$number|"
$_sGlobalVariableList &= "$ptr|$string|$struct|$true"

#endregion Global and Local "Variable List Declaration"

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

First check all from previous post

if it still will not have positive results, do the following steps:

 

try normaly (by click on this file) run: Variable_list.exe 

when FileOpenDialog appears select  that file "test_DumpDebuging.au3"

check if file "test_DumpDebuging.au3" now contains content which I mention in previous post.

 

if still file contents: "test_DumpDebuging.au3"  not changed it means that there is a problem with calling this Directive:

#AutoIt3Wrapper_Run_Before=Variable_list.exe %in%

so show me the versions of all scite components (au3check, TIDY, AutoIt3Wrapper, and SciTE.exe)

or just try to focus why this directive did not work

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted (edited)

I understand I will try to follow the procedure and improve the OP description.

EDIT: and of course improve in the script

Edited by mlipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted
I looked everywhere, but not with me.
Now beat in my chest.
 
You're right, I have found a mistake, and I corrected it.
Download again, the files and try again.
It should be good.
 
 
What a shame .......
I do not know at which point, the project lost cohesion.

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

Same issue.

test_DumpDebuging.exe__Accident.log

=====2013-10-02__20-25=====Accident INTERCEPTED=====
_ListOfGlobalVariables
TYPE      VARIABLE       VALUE
====      ========       =====
============================
Functions:




















=====Accident INTERCEPTED=====END=====


=====2013-10-02__20-25=====_Dump_OnExit()=====
_ListOfGlobalVariables
TYPE      VARIABLE       VALUE
====      ========       =====
============================
Functions:




















=====_Dump_OnExit()=====END=====

test_DumpDebuging.exe__Dump

=====2013-10-02__20-25=====_Dump_ToFile()=====_test_Func_3=====
_ListOfGlobalVariables
TYPE      VARIABLE       VALUE
====      ========       =====
============================
Functions:




















=====_Dump_ToFile()=====End=====_test_Func_3=====
Posted (edited)

Strange ....

STEP 1:

I create a "NEW" folder on my desktop "C:UsersuserDesktopNEW"

Ok I downlad that 3 file from my OP

save them to "C:UsersuserDesktopNEW"

And everything I do takes place in the following order.

STEP 2:

compile "C:UsersuserDesktopNEWVariable_list.au3":

>"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /prod /in "C:\Users\user\Desktop\NEW\Variable_list.au3"
+>02:36:28 Starting AutoIt3Wrapper v.2.1.2.29 SciTE v.3.3.5.0 ;  Keyboard:00000415  OS:WIN_7/Service Pack 1  CPU:X64 OS:X64    Environment(Language:0415  Keyboard:00000415  OS:WIN_7/Service Pack 1  CPU:X64 OS:X64)
>Running AU3Check (3.3.9.5)  from:C:\Program Files (x86)\AutoIt3
+>02:36:28 AU3Check ended.rc:0
>Running:(3.3.8.1):C:\Program Files (x86)\AutoIt3\aut2exe\aut2exe.exe  /in "C:\Users\user\Desktop\NEW\Variable_list.au3" /out "C:\Users\user\~AU3ltikfrb.exe" /nopack /comp 2
+>02:36:30 Aut2exe.exe ended.C:\Users\user\~AU3ltikfrb.exe. rc:0
+>02:36:30 Created program:C:\Users\user\Desktop\NEW\Variable_list.exe
>Exit code: 0    Time: 2.550

STEP 3:

compile "C:UsersuserDesktopNEWtest_DumpDebuging.au3":

>"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /prod /in "C:\Users\user\Desktop\NEW\test_DumpDebuging.au3"
+>02:37:21 Starting AutoIt3Wrapper v.2.1.2.29 SciTE v.3.3.5.0 ;  Keyboard:00000415  OS:WIN_7/Service Pack 1  CPU:X64 OS:X64    Environment(Language:0415  Keyboard:00000415  OS:WIN_7/Service Pack 1  CPU:X64 OS:X64)
> Running:Variable_list.exe C:\Users\user\Desktop\NEW\test_DumpDebuging.au3
Variable_list: using file: C:\Users\user\Desktop\NEW\test_DumpDebuging.au3
Variable_list: IsArray($aTempGlobalVariableList) =  1
Variable_list:  _ArrayToString: START:
$array|$binary|$bool|$false|$float|$hex|$hwnd|$int|$keyword|$number|$ptr|$string|$struct|$true
Variable_list:  _ArrayToString: END:
Adding:
#region Global and Local "Variable List Declaration"
Global $_sGlobalVariableList = ""
$_sGlobalVariableList &= "$array|$binary|$bool|$false|$float|"
$_sGlobalVariableList &= "$hex|$hwnd|$int|$keyword|$number|"
$_sGlobalVariableList &= "$ptr|$string|$struct|$true"

#endregion Global and Local "Variable List Declaration"

>Running AU3Check (3.3.9.5)  params:-q -d -w 1 -w 2 -w 3 -w- 4 -w 5 -w 6 -w- 7  from:C:\Program Files (x86)\AutoIt3
+>02:37:23 AU3Check ended.rc:0
>Running:(3.3.8.1):C:\Program Files (x86)\AutoIt3\aut2exe\aut2exe.exe  /in "C:\Users\user\Desktop\NEW\test_DumpDebuging.au3" /out "C:\Users\user\~AU3olengas.exe" /nopack /comp 2
+>02:37:25 Aut2exe.exe ended.C:\Users\user\~AU3olengas.exe. rc:0
+>02:37:25 Created program:C:\Users\user\Desktop\NEW\test_DumpDebuging.exe
>Exit code: 0    Time: 4.169

STEP 4:

Run: "C:UsersuserDesktopNEWtest_DumpDebuging.exe"

and I got some MsgBox and finaly:

END:

"C:UsersuserDesktopNEWtest_DumpDebuging.exe___Accident.txt"

=====2013-10-03__02-38=====Accident INTERCEPTED=====
_ListOfGlobalVariables
TYPE      VARIABLE       VALUE
====      ========       =====
Array     $array         
Binary    $binary        0x54686973206973206120737472696E6720776974682061204054414209616E6420697420656E64732077697468204043524C460D0A
Bool      $bool          True
Bool      $false         False
Double    $float         12.01
String    $hex           0000000D
Ptr       $hwnd          0x00010072
Int32     $int           3
Keyword   $keyword       Default
Double    $number        15.01
Ptr       $ptr           0x00000010
String    $string        This is a string with a @TAB   and it ends with @CRLF

DLLStruct $struct        
Bool      $true          True
============================
Functions:








_Func_Start: _test_Main
_Func_Start: _test_Func_1
_Func_End: _test_Func_1
_Func_Start: _test_Func_2
_Func_End: _test_Func_2
_Func_Start: _test_Func_2
_Func_End: _test_Func_2
_Func_Start: _test_Func_3
_Func_End: _test_Func_3
_Func_Start: _test_Func_4
_Func_End: _test_Func_4
_Func_End: _test_Main
=====Accident INTERCEPTED=====END=====


=====2013-10-03__02-38=====_Dump_OnExit()=====
_ListOfGlobalVariables
TYPE      VARIABLE       VALUE
====      ========       =====
Array     $array         
Binary    $binary        0x54686973206973206120737472696E6720776974682061204054414209616E6420697420656E64732077697468204043524C460D0A
Bool      $bool          True
Bool      $false         False
Double    $float         12.01
String    $hex           0000000D
Ptr       $hwnd          0x00010072
Int32     $int           3
Keyword   $keyword       Default
Double    $number        15.01
Ptr       $ptr           0x00000010
String    $string        This is a string with a @TAB   and it ends with @CRLF

DLLStruct $struct        
Bool      $true          True
============================
Functions:








_Func_Start: _test_Main
_Func_Start: _test_Func_1
_Func_End: _test_Func_1
_Func_Start: _test_Func_2
_Func_End: _test_Func_2
_Func_Start: _test_Func_2
_Func_End: _test_Func_2
_Func_Start: _test_Func_3
_Func_End: _test_Func_3
_Func_Start: _test_Func_4
_Func_End: _test_Func_4
_Func_End: _test_Main
=====_Dump_OnExit()=====END=====

and

"C:UsersuserDesktopNEWtest_DumpDebuging.exe__Dump.txt"

=====2013-10-03__02-38=====_Dump_ToFile()=====_test_Func_3=====
_ListOfGlobalVariables
TYPE      VARIABLE       VALUE
====      ========       =====
Array     $array         
Binary    $binary        0x54686973206973206120737472696E6720776974682061204054414209616E6420697420656E64732077697468204043524C460D0A
Bool      $bool          True
Bool      $false         False
Double    $float         12.01
String    $hex           0000000D
Ptr       $hwnd          0x00010072
Int32     $int           3
Keyword   $keyword       Default
Double    $number        15.01
Ptr       $ptr           0x00000010
String    $string        This is a string with a @TAB   and it ends with @CRLF

DLLStruct $struct        
Bool      $true          True
============================
Functions:











_Func_Start: _test_Main
_Func_Start: _test_Func_1
_Func_End: _test_Func_1
_Func_Start: _test_Func_2
_Func_End: _test_Func_2
_Func_Start: _test_Func_2
_Func_End: _test_Func_2
_Func_Start: _test_Func_3
_Func_End: _test_Func_3
=====_Dump_ToFile()=====End=====_test_Func_3=====

I do not understand why in your case it does not work.

Is your last test done in the same order as me?

Edited by mlipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted

The most important things happening in the STEP 3:

  Quote

 

>"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /prod /in "C:UsersuserDesktopNEWtest_DumpDebuging.au3"
+>02:37:21 Starting AutoIt3Wrapper v.2.1.2.29 SciTE v.3.3.5.0 ;  Keyboard:00000415  OS:WIN_7/Service Pack 1  CPU:X64 OS:X64    Environment(Language:0415  Keyboard:00000415  OS:WIN_7/Service Pack 1  CPU:X64 OS:X64)
> Running:Variable_list.exe C:UsersuserDesktopNEWtest_DumpDebuging.au3
Variable_list: using file: C:UsersuserDesktopNEWtest_DumpDebuging.au3

Variable_list: IsArray($aTempGlobalVariableList) =  1
Variable_list:  _ArrayToString: START:
$array|$binary|$bool|$false|$float|$hex|$hwnd|$int|$keyword|$number|$ptr|$string|$struct|$true
Variable_list:  _ArrayToString: END:
Adding:
#region Global and Local "Variable List Declaration"
Global $_sGlobalVariableList = ""
$_sGlobalVariableList &= "$array|$binary|$bool|$false|$float|"
$_sGlobalVariableList &= "$hex|$hwnd|$int|$keyword|$number|"
$_sGlobalVariableList &= "$ptr|$string|$struct|$true"

#endregion Global and Local "Variable List Declaration"


>Running AU3Check (3.3.9.5)  params:-q -d -w 1 -w 2 -w 3 -w- 4 -w 5 -w 6 -w- 7  from:C:Program Files (x86)AutoIt3
+>02:37:23 AU3Check ended.rc:0
>Running:(3.3.8.1):C:\Program Files (x86)\AutoIt3\Aut2Exe\aut2exe.exe  /in "C:UsersuserDesktopNEWtest_DumpDebuging.au3" /out "C:Usersuser~AU3olengas.exe" /nopack /comp 2
+>02:37:25 Aut2exe.exe ended.C:Usersuser~AU3olengas.exe. rc:0
+>02:37:25 Created program:C:UsersuserDesktopNEWtest_DumpDebuging.exe
>Exit code: 0    Time: 4.169

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

Posted (edited)

it can not be compiled with:

#AutoIt3Wrapper_Run_Obfuscator=Y
#Obfuscator_Parameters=/SO

here is a console log:

>"C:\Program Files (x86)\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /prod /in "C:\Users\user\Desktop\NEW\test_DumpDebuging.au3"
+>04:49:12 Starting AutoIt3Wrapper v.2.1.2.29 SciTE v.3.3.5.0 ;  Keyboard:00000415  OS:WIN_7/Service Pack 1  CPU:X64 OS:X64    Environment(Language:0415  Keyboard:00000415  OS:WIN_7/Service Pack 1  CPU:X64 OS:X64)
> Running:Variable_list.exe C:\Users\user\Desktop\NEW\test_DumpDebuging.au3
Variable_list: using file: C:\Users\user\Desktop\NEW\test_DumpDebuging.au3
Variable_list: IsArray($aTempGlobalVariableList) =  1
Variable_list:  _ArrayToString: START:
$array|$binary|$bool|$false|$float|$hex|$hwnd|$int|$keyword|$number|$ptr|$string|$struct|$true
Variable_list:  _ArrayToString: END:
Adding:
#region Global and Local "Variable List Declaration"
Global $_sGlobalVariableList = ""
$_sGlobalVariableList &= "$array|$binary|$bool|$false|$float|"
$_sGlobalVariableList &= "$hex|$hwnd|$int|$keyword|$number|"
$_sGlobalVariableList &= "$ptr|$string|$struct|$true"

#endregion Global and Local "Variable List Declaration"

>Running AU3Check (3.3.9.5)  params:-q -d -w 1 -w 2 -w 3 -w- 4 -w 5 -w 6 -w- 7  from:C:\Program Files (x86)\AutoIt3
+>04:49:14 AU3Check ended.rc:0
>Running Obfuscator (1.0.30.12)  from:C:\Program Files (x86)\AutoIt3\SciTE\Obfuscator cmdline:
-### StripOnly/StripFunc Error: Found DllCallbackRegister() statement using unsolvable Func, which will/could lead to removal of Funcs that are used by this Function.
>### current Func: AddHookApi
C:\Users\user\Desktop\NEW\DumpDebuging.au3(501,1) Warning for line:DllStructSetData($tFunctionOffset, 1, DllCallbackGetPtr(DllCallbackRegister($vNewFunction, $sRet, $sParams))) 

-#############################################################################################
-#### Obfuscator Found   1 Error(s)!!!!    This means your script could have problems running properly.  ####
-#############################################################################################
- Iteration 1 Strip Functions result: Output  1083 lines and stripped 14392 lines
- Iteration 2 Strip Variables result: Output  661 lines and stripped 422 lines
- Iteration 3 Strip Variables result: Output  636 lines and stripped 25 lines
+> Source    49510 lines 2475185 Characters.
+> Stripped  14839 Func/Var lines and  32610 comment lines, Total 2417755 Characters.
+> Saved     95% lines 97% Characters.
+> Obfuscator v1.0.30.12 finished created:C:\Users\user\Desktop\NEW\test_DumpDebuging_Obfuscated.au3
>Running AU3Check for obfuscated file(3.3.9.5)  params:-q -d -w 1 -w 2 -w 3 -w- 4 -w 5 -w 6 -w- 7  from:C:\Program Files (x86)\AutoIt3
+>04:49:23 AU3Check Obfuscated code ended.rc:0
>Running:(3.3.8.1):C:\Program Files (x86)\AutoIt3\aut2exe\aut2exe.exe  /in "C:\Users\user\Desktop\NEW\test_DumpDebuging_Obfuscated.au3" /out "C:\Users\user\~AU3ntnjjpg.exe" /nopack /comp 2
+>04:49:24 Aut2exe.exe ended.C:\Users\user\~AU3ntnjjpg.exe. rc:0
+>04:49:24 Created program:C:\Users\user\Desktop\NEW\test_DumpDebuging.exe
>Exit code: 0    Time: 13.162

EDIT:

but it works when I set /SF=0

#Obfuscator_Parameters=/CV=0 /CF=0 /CS=0 /CN=0 /SF=0 /SV=1

and works with 

#Obfuscator_Parameters=/MO

 

EDIT:

I forget to ask

so do you want a file generated with this directive:

#Obfuscator_Parameters=/MO

Edited by mlipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

  • 1 month later...
Posted (edited)
I apologize for the delay.
I was doing all this time testing.
 
I think I solved the problem by using this:
#Obfuscator_Ignore_Funcs=AddHookApi
#Obfuscator_Ignore_Funcs=ImageDirectoryEntryToData
#Obfuscator_Ignore_Funcs=Intercept_MessageBoxW
#Obfuscator_Ignore_Funcs=VirtualProtect
 
Please see the script attached to this post.
 

EDIT 2013/11/15new TEST.ZIP

TEST.ZIP

Edited by mlipok

Signature beginning:
Please remember: "AutoIt"..... *  Wondering who uses AutoIt and what it can be used for ? * Forum Rules *
ADO.au3 UDF * POP3.au3 UDF * XML.au3 UDF * IE on Windows 11 * How to ask ChatGPT for AutoIt Codefor other useful stuff click the following button:

  Reveal hidden contents

Signature last update: 2023-04-24

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
×
×
  • Create New...