Jump to content



Photo

Obfuscator (make your script hard to read)


  • Please log in to reply
784 replies to this topic

#681 archrival

archrival

    Prodigy

  • Active Members
  • PipPipPip
  • 176 posts

Posted 06 December 2011 - 04:51 PM

I'll see if I can come up with something that consistently crashes.







#682 KaFu

KaFu

    Hey, it's just me, KhaFoo...

  • MVPs
  • 3,166 posts

Posted 07 December 2011 - 10:27 AM

Hi Jos,

I get this error
!==> *** ERROR: include file not found : #Include <Icons.au3>
when I compile this script.

#Region ;**** Directives created by AutoIt3Wrapper_GUI **** #AutoIt3Wrapper_Version=Beta #AutoIt3Wrapper_Run_Obfuscator=y #Obfuscator_Parameters=/sf /sv /om /cs=0 /cn=0 #EndRegion ;**** Directives created by AutoIt3Wrapper_GUI **** ; Script Start - Add your code below here #cs  #Include <Icons.au3> #ce MsgBox(0,"",1)


Best Regards

#683 Jos

Jos

    oh joy ...

  • Developers
  • 21,065 posts

Posted 10 December 2011 - 03:47 PM

Hi Jos,

I get this error
!==> *** ERROR: include file not found : #Include <Icons.au3>
when I compile this script.

Fixed this issue in the current Beta v 1.0.29.5.

Cheers,
Jos

Visit the SciTE4AutoIt3 Download page for the latest versions                                                                 Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)


#684 KaFu

KaFu

    Hey, it's just me, KhaFoo...

  • MVPs
  • 3,166 posts

Posted 10 December 2011 - 06:49 PM

Thanks for the quick update :D!

#685 autoitaddicted

autoitaddicted

    Seeker

  • Active Members
  • 26 posts

Posted 18 December 2011 - 10:09 AM

any suggestions to fix that errors ?

-###2 Obfuscation Error: Found Execute() statement which will lead to problems running your obfuscated script. >### current Func: _WinAPI_SetLayeredWindowAttributes C:Program Files (x86)AutoIt3includeWinAPI.au3(5364,1) Warning for line:$i_transcolor = Execute('0x00' & StringMid($i_transcolor, 5, 2) & StringMid($i_transcolor, 3, 2) & StringMid($i_transcolor, 1, 2)) -###2 Obfuscation Error: Found Execute() statement which will lead to problems running your obfuscated script. >### current Func: _IEFormElementCheckboxSelect C:Program Files (x86)AutoIt3includeIE.au3(1500,1) Warning for line:$oItems = Execute("$o_object.elements('" & $s_Name & "')") -###2 Obfuscation Error: Found Execute() statement which will lead to problems running your obfuscated script. >### current Func: _IEFormElementRadioSelect C:Program Files (x86)AutoIt3includeIE.au3(1615,1) Warning for line:Local $oItems = Execute("$o_object.elements('" & $s_Name & "')") -###2 Obfuscation Error: Found Execute() statement which will lead to problems running your obfuscated script. >### current Func: _IEPropertyGet C:Program Files (x86)AutoIt3includeIE.au3(2810,1) Warning for line:$aVcard[1][$i] = Execute('$o_object.document.parentWindow.top.navigator.userProfile.getAttribute("' & $aVcard[0][$i] & '")') -### Obfuscation Error: Found ObjEvent() statement using unsolvable Func, which will/could lead to problems running your obfuscated script. >### current Func: _IEErrorHandlerRegister C:Program Files (x86)AutoIt3includeIE.au3(3102,1) Warning for line:$oIEErrorHandler = ObjEvent("AutoIt.Error", $s_functionName) -### Obfuscation Error: Found ObjEvent() statement using unsolvable Func, which will/could lead to problems running your obfuscated script. >### current Func: __IEInternalErrorHandlerDeRegister C:Program Files (x86)AutoIt3includeIE.au3(3748,1) Warning for line:$oIEErrorHandler = ObjEvent("AutoIt.Error", $sIEUserErrorHandler) -############################################################################################# -#### Obfuscator Found   6 Error(s)!!!!    This means your script could have problems running properly.  #### -#############################################################################################

  • SomeBody22 likes this

#686 SomeBody22

SomeBody22

    Seeker

  • Active Members
  • 15 posts

Posted 24 February 2012 - 01:25 AM

any suggestions to fix that errors ?

-###2 Obfuscation Error: Found Execute() statement which will lead to problems running your obfuscated script. >### current Func: _WinAPI_SetLayeredWindowAttributes C:Program Files (x86)AutoIt3includeWinAPI.au3(5364,1) Warning for line:$i_transcolor = Execute('0x00' & StringMid($i_transcolor, 5, 2) & StringMid($i_transcolor, 3, 2) & StringMid($i_transcolor, 1, 2)) -###2 Obfuscation Error: Found Execute() statement which will lead to problems running your obfuscated script. >### current Func: _IEFormElementCheckboxSelect C:Program Files (x86)AutoIt3includeIE.au3(1500,1) Warning for line:$oItems = Execute("$o_object.elements('" & $s_Name & "')") -###2 Obfuscation Error: Found Execute() statement which will lead to problems running your obfuscated script. >### current Func: _IEFormElementRadioSelect C:Program Files (x86)AutoIt3includeIE.au3(1615,1) Warning for line:Local $oItems = Execute("$o_object.elements('" & $s_Name & "')") -###2 Obfuscation Error: Found Execute() statement which will lead to problems running your obfuscated script. >### current Func: _IEPropertyGet C:Program Files (x86)AutoIt3includeIE.au3(2810,1) Warning for line:$aVcard[1][$i] = Execute('$o_object.document.parentWindow.top.navigator.userProfile.getAttribute("' & $aVcard[0][$i] & '")') -### Obfuscation Error: Found ObjEvent() statement using unsolvable Func, which will/could lead to problems running your obfuscated script. >### current Func: _IEErrorHandlerRegister C:Program Files (x86)AutoIt3includeIE.au3(3102,1) Warning for line:$oIEErrorHandler = ObjEvent("AutoIt.Error", $s_functionName) -### Obfuscation Error: Found ObjEvent() statement using unsolvable Func, which will/could lead to problems running your obfuscated script. >### current Func: __IEInternalErrorHandlerDeRegister C:Program Files (x86)AutoIt3includeIE.au3(3748,1) Warning for line:$oIEErrorHandler = ObjEvent("AutoIt.Error", $sIEUserErrorHandler) -############################################################################################# -#### Obfuscator Found   6 Error(s)!!!! This means your script could have problems running properly.  #### -#############################################################################################

Same issue here, anyone have solution?

#687 BrewManNH

BrewManNH

    באָבקעס מיט קודוצ׳ה

  • MVPs
  • 6,877 posts

Posted 24 February 2012 - 02:23 AM

Not sure what your issue is, there's a lot of errors there. Be specific when making an error report and there's a better chance it will be looked at. Right now, all there is here is a wall of error messages, and each of them telling you what the error is.

How to ask questions the smart way!

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.

Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.

_FileGetProperty - Retrieve the properties of a file SciTE Toolbar - A toolbar demo for use with the SciTE editorGUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.

GUIToolTip UDF Demo - Demo script to show how to use the GUIToolTip UDF to create and use customized tooltips.

Posted Image


#688 SomeBody22

SomeBody22

    Seeker

  • Active Members
  • 15 posts

Posted 26 February 2012 - 06:44 PM

Not sure what your issue is, there's a lot of errors there. Be specific when making an error report and there's a better chance it will be looked at. Right now, all there is here is a wall of error messages, and each of them telling you what the error is.

The error is simple, when you try to obfuscate a code that has "# include <IE.au3>" received this error.

#AutoIt3Wrapper_Run_Obfuscator=y #include <IE.au3> $oIE_basic = _IE_Example ("basic") $oIE_form = _IE_Example ("form") $oIE_table = _IE_Example ("table") $oIE_frameset = _IE_Example ("frameset") $oIE_iframe = _IE_Example ("iframe")

Spoiler


It's a bug?

#689 Jos

Jos

    oh joy ...

  • Developers
  • 21,065 posts

Posted 26 February 2012 - 06:54 PM

It's a bug?

Not a BUG in Obfuscator as I have explained many time.

Visit the SciTE4AutoIt3 Download page for the latest versions                                                                 Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)


#690 hearton

hearton

    Seeker

  • New Members
  • 3 posts

Posted 06 March 2012 - 01:00 AM

i find a bug!



if the code have #include <Timers.au3> and #include <GUICtrlOnHover.au3>,you will can't use bofuscator.

Timers.au3 is builtin functions,GUICtrlOnHover.au3 is the attachment.
And the attachment you can get from the link:http://www.autoitscript.com/forum/index.php?s=&showtopic=55120

When you complite the code use bofuscator, it will show you like:


Obfuscation Error: Found Execute() statement which will lead to problems running your obfuscated script.
>### current Func: Main Script


-### Obfuscation Error: Found Call() statement using unsolvable Func, which will/could lead to problems running your obfuscated script.
>### current Func: __GUICtrl_SOH_Call


For help!

Attached Files


Edited by hearton, 06 March 2012 - 01:01 AM.


#691 wraithdu

wraithdu

    I am less fun than a twisted ankle.

  • MVPs
  • 2,137 posts

Posted 06 March 2012 - 05:50 AM

/facepalm

#692 Melba23

Melba23

    Yes, me!

  • Moderators
  • 15,387 posts

Posted 06 March 2012 - 08:18 AM

hearton,

Welcome to the AutoIt forum. :oops:

Please read this thread fully and you will find that the reason for these alerts has been explained many times - as has the reason that such errors will always appear in certain cases. :bye:

M23
StringSize - Automatically size controls to fit text - ExtMsgBox - A user customisable replacement for MsgBox

Toast - Small GUIs which pop out of the Systray - Marquee - Scrolling tickertape GUIs

Scrollbars - Automatically sized scrollbars with a single command - GUIFrame - Subdivide GUIs into many adjustable frames

GUIExtender - Extend and retract multiple sections within a GUI - NoFocusLines - Remove the dotted focus lines from buttons, sliders, radios and checkboxes

ChooseFileFolder - Single and multiple selections from specified path tree structure - - Notify - Small notifications on the edge of the display

RecFileListToArray - An alternative to _FileListToArray with user-defined include/exclude masks, maximum recursion level, sorting and displayed path options

GUIListViewEx - Insert, delete, move, drag and sort ListView items


#693 Jos

Jos

    oh joy ...

  • Developers
  • 21,065 posts

Posted 06 March 2012 - 04:30 PM

/facepalm

I have totally given up putting any effort in explaining it anymore.
If people are really too lazy/uneducated/or-what-ever-other-reason-they-have, than they should not use the tool.

Jos :oops:

Visit the SciTE4AutoIt3 Download page for the latest versions                                                                 Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)


#694 Scriptmaster

Scriptmaster

    Wayfarer

  • Active Members
  • Pip
  • 56 posts

Posted 06 March 2012 - 08:09 PM

I do not quite see the point and is there an un-Obfuscator?
shutdown(1)

#695 Jos

Jos

    oh joy ...

  • Developers
  • 21,065 posts

Posted 06 March 2012 - 08:15 PM

I do not quite see the point and is there an un-Obfuscator?

There is no issue with not seeing the point after having read the initial post and guess you don't need to use this program then.

Jos :oops:

Visit the SciTE4AutoIt3 Download page for the latest versions                                                                 Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)


#696 hearton

hearton

    Seeker

  • New Members
  • 3 posts

Posted 07 March 2012 - 04:06 AM

hearton,

Welcome to the AutoIt forum. :oops:

Please read this thread fully and you will find that the reason for these alerts has been explained many times - as has the reason that such errors will always appear in certain cases. :bye:

M23


I read,but i can't find the solution.
Can you show me again?

#697 JohnOne

JohnOne

    John

  • Active Members
  • PipPipPipPipPipPip
  • 8,871 posts

Posted 07 March 2012 - 08:07 AM

http://www.autoitscript.com/forum/topic/43853-obfuscator-make-your-script-hard-to-read/

The first half of dozen lines explain the point.
AutoIt Absolute Beginners Require a serial
Run('hh mk:@MSITStore:'&StringReplace(@AutoItExe,'.exe','.chm')&'::/html/tutorials/helloworld/helloworld.htm','',@SW_MAXIMIZE)

#698 Jos

Jos

    oh joy ...

  • Developers
  • 21,065 posts

Posted 07 March 2012 - 04:58 PM

I read,but i can't find the solution.
Can you show me again?

[VENT]
Now honestly, which part of the displayed error message shown in the Output Console is so terribly hard to comprehend?
Obfuscator WILL NOT, nor NEVER WILL be able to obfuscate a Execute() or Call() statement and ensure the script will still function properly.
So either do not use those functions nor UDF's that use those function or simply do not Obfuscate your script!
*** End of Story ***
[/VENT]

Edited by Jos, 07 March 2012 - 06:58 PM.

Visit the SciTE4AutoIt3 Download page for the latest versions                                                                 Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)


#699 hearton

hearton

    Seeker

  • New Members
  • 3 posts

Posted 08 March 2012 - 01:20 AM

Obfuscator WILL NOT, nor NEVER WILL be able to obfuscate a Execute() or Call() statement and ensure the script will still function properly.
So either do not use those functions nor UDF's that use those function or simply do not Obfuscate your script!

but i need:
#include <Timers.au3>
#include <GUICtrlOnHover.au3>

can you Modify them for me?


#AutoIt3Wrapper_Outfile=tt.exe #AutoIt3Wrapper_Run_Obfuscator=y #Obfuscator_Parameters=/cs=0 #include <Timers.au3> #include <GUICtrlOnHover.au3> MsgBox(0,"test","hello world!")


let it can be obfuscator and run nomal!

modify Timers.au3 and GUICtrlOnHover.au3.

Edited by hearton, 08 March 2012 - 01:23 AM.


#700 wraithdu

wraithdu

    I am less fun than a twisted ankle.

  • MVPs
  • 2,137 posts

Posted 08 March 2012 - 02:03 PM

Wow. Let me answer that: Fuck You.
  • BrewManNH likes this




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users