Jump to content

Obfuscator (discontinued)


Jos
 Share

Recommended Posts

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

Link to comment
Share on other sites

  • Developers

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

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

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)\AutoIt3\Include\WinAPI.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)\AutoIt3\Include\IE.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)\AutoIt3\Include\IE.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)\AutoIt3\Include\IE.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)\AutoIt3\Include\IE.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)\AutoIt3\Include\IE.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.  ####
-#############################################################################################
Link to comment
Share on other sites

  • 2 months later...

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)\AutoIt3\Include\WinAPI.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)\AutoIt3\Include\IE.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)\AutoIt3\Include\IE.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)\AutoIt3\Include\IE.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)\AutoIt3\Include\IE.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)\AutoIt3\Include\IE.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?
Link to comment
Share on other sites

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.

If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

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 editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Link to comment
Share on other sites

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")

-###2 Obfuscation Error: Found Execute() statement which will lead to problems running your obfuscated script.

>### current Func: _IEFormElementCheckboxSelect

C:Arquivos de programasAutoIt3includeIE.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:Arquivos de programasAutoIt3includeIE.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:Arquivos de programasAutoIt3includeIE.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:Arquivos de programasAutoIt3includeIE.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:Arquivos de programasAutoIt3includeIE.au3(3748,1) Warning for line:$oIEErrorHandler = ObjEvent("AutoIt.Error", $sIEUserErrorHandler)

-#############################################################################################

-#### Obfuscator Found 5 Error(s)!!!! This means your script could have problems running properly. ####

-#############################################################################################

+> Obfuscator v1.0.28.7 finished obfuscating 2975 lines, stripped 1311 comment lines. created:C:Documents and SettingsAdministradorDesktoptestando_Obfuscated.au3

It's a bug?

Link to comment
Share on other sites

  • 2 weeks later...

i find a bug!

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

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!

GUICtrlOnHover.au3

Edited by hearton
Link to comment
Share on other sites

  • Moderators

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

Public_Domain.png.2d871819fcb9957cf44f4514551a2935.png Any of my own code posted anywhere on the forum is available for use by others without any restriction of any kind

Open spoiler to see my UDFs:

Spoiler

ArrayMultiColSort ---- Sort arrays on multiple columns
ChooseFileFolder ---- Single and multiple selections from specified path treeview listing
Date_Time_Convert -- Easily convert date/time formats, including the language used
ExtMsgBox --------- A highly customisable replacement for MsgBox
GUIExtender -------- Extend and retract multiple sections within a GUI
GUIFrame ---------- Subdivide GUIs into many adjustable frames
GUIListViewEx ------- Insert, delete, move, drag, sort, edit and colour ListView items
GUITreeViewEx ------ Check/clear parent and child checkboxes in a TreeView
Marquee ----------- Scrolling tickertape GUIs
NoFocusLines ------- Remove the dotted focus lines from buttons, sliders, radios and checkboxes
Notify ------------- Small notifications on the edge of the display
Scrollbars ----------Automatically sized scrollbars with a single command
StringSize ---------- Automatically size controls to fit text
Toast -------------- Small GUIs which pop out of the notification area

 

Link to comment
Share on other sites

  • Developers

/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:

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

  • Developers

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:

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

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?

Link to comment
Share on other sites

  • Developers

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

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
Share on other sites

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
Link to comment
Share on other sites

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...