michaelslamet Posted August 9, 2013 Posted August 9, 2013 It should be the case that when just a filename is used as include the following sequence is used to find the include: #Include<Filename> : Standard Autoit3 Include directory User defined Include directories Script directory #Include"Filename": The reverse of the above. Is that not the case? Jos I just check the code again, all of the #include is using <Filename> (not using "FileName"). I'm not sure if the obfuscator read the include file from Standard AutoIt3 Include directory first or from the script directory first, but it read from both resulting "var/const and function already defined" error. Shouldn't it read only from first source and ignore the others when get the same functions/variables ?
Developers Jos Posted August 9, 2013 Author Developers Posted August 9, 2013 I just check the code again, all of the #include is using <Filename> (not using "FileName"). I'm not sure if the obfuscator read the include file from Standard AutoIt3 Include directory first or from the script directory first, but it read from both resulting "var/const and function already defined" error. Shouldn't it read only from first source and ignore the others when get the same functions/variables ? I can check when you can define the exact scenario when it goes wrong or send me some files to test with so I can replicate the issue you have. 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.
michaelslamet Posted August 9, 2013 Posted August 9, 2013 I can check when you can define the exact scenario when it goes wrong or send me some files to test with so I can replicate the issue you have. Jos Ok, I will. Thanks a lot, Jos
michaelslamet Posted August 9, 2013 Posted August 9, 2013 It doesn't need to copy them as AutoIt3Wrapper already knows what to do from the original source. What is does is: - read the directives - Obfuscate's the script into the new source file - AUT2EXE the new source file - Modifies the Resources of the output EXE So, as you can see, there is no need for these lines in the source used by AUT2EXE. Jos I try both Compile (Ctrl+F7) and Build (F7), they only create the obfuscated script (_obfuscated.au3) but didn't compile it at the same time (after the process finish, I only get original script.exe, there is no _obfuscated.exe) so those directives are not passed to the obfuscated script/exe. If I compile the obfuscated script manually, I dont get the directives except I copy paste them from the original script. I should be wrong doing some step
BrewManNH Posted August 9, 2013 Posted August 9, 2013 When you compile the script using the obfuscator directives, the compiled script inside your exe is obfuscated, there's no separate exe created called scriptname_obfuscate.exe. michaelslamet 1 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 GudeHow 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
Developers Jos Posted August 9, 2013 Author Developers Posted August 9, 2013 Look at the SciTE output pane for a moment when your F7 is finished.... I am sure a light will go on when you read the AUT2EXE commandline parameters. 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.
michaelslamet Posted August 9, 2013 Posted August 9, 2013 When you compile the script using the obfuscator directives, the compiled script inside your exe is obfuscated, there's no separate exe created called scriptname_obfuscate.exe. Yes, you're correct. This is the explanation, there is no separate exe created called scriptname_obfuscated.exe Thanks, BrewManNH
michaelslamet Posted August 9, 2013 Posted August 9, 2013 Look at the SciTE output pane for a moment when your F7 is finished.... I am sure a light will go on when you read the AUT2EXE commandline parameters. Yes, I should saw that before. I read that but doesn't pay much attention to it >Running:(3.3.8.1):C:\Program Files\AutoIt3\Aut2Exe\aut2exe.exe /in "C:Documents and SettingsWindowsMy DocumentsAppmyscript_Obfuscated.au3" /out "C:Documents and SettingsWindowsMy DocumentsAppmyscript.exe" /nopack /comp 2 /Console
michaelslamet Posted August 9, 2013 Posted August 9, 2013 I can check when you can define the exact scenario when it goes wrong or send me some files to test with so I can replicate the issue you have. Jos This are steps to produce the errors: 1. Create this script: #AutoIt3Wrapper_Run_Obfuscator=y #AutoIt3Wrapper_UseUpx=n #Obfuscator_Parameters=/sf 1 #include <GuiConstantsEx.au3> #include <myinclude.au3> $hGUI = GuiCreate("MyGUI", 200, 200) Do GUISetState(@SW_SHOW, $hGUI) $msg = GUIGetMsg() Select case $msg = $GUI_EVENT_CLOSE GUIDelete($hGUI) Exit EndSelect Until $msg = $GUI_EVENT_CLOSE 2. Create this include file and put in on AutoIt3 Include directory (mine is C:Program FilesAutoIt3Include) #include-once #include <WinAPI.au3> 3. Copy WinAPI.au3 from AutoIt3 Include directory and put it on the same dir with script number 1 above My WinAPI.au3 is 375KB dated 21/12/2011 (AutoIT 3.8.8.1, WinXP) 4. Press Ctrl+Shift+O to obfuscate the script and run the obfuscated script. 5. It will throw an error about const/var and function already defined.
BrewManNH Posted August 9, 2013 Posted August 9, 2013 When you include WinAPI from a file inside the includes folder, it's going to use the file inside the includes folder. If you want to have it include the file in your script directory, then add it to your main script. 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 GudeHow 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
Developers Jos Posted August 9, 2013 Author Developers Posted August 9, 2013 (edited) Ok... I think I understand now. One of the nice things with Obfuscator is that it has a pretty complete Log file from each run... this is what happens with the includes: 0.00 ==> Start Add_Include: Include_Rec$:#include <GuiConstantsEx.au3> 0.00 ==> Loading Include file into source Array:C:\Program Files (x86)\AutoIt3\Include\guiconstantsex.au3 0.00 ==> Start Add_Include: Include_Rec$:#include <myinclude.au3> 0.00 ==> Loading Include file into source Array:C:\Program Files (x86)\AutoIt3\Include\myinclude.au3This is your file including WinApi.au3 0.00 ==> Start Add_Include: Include_Rec$:#include <WinAPI.au3> 0.00 ==> Loading Include file into source Array:C:\Program Files (x86)\AutoIt3\Include\winapi.au3 0.00 ==> Start Add_Include: Include_Rec$:#include "StructureConstants.au3" 0.00 ==> Loading Include file into source Array:C:\Program Files (x86)\AutoIt3\Include\structureconstants.au3 0.06 ==> Start Add_Include: Include_Rec$:#include "FileConstants.au3" 0.06 ==> Loading Include file into source Array:C:\Program Files (x86)\AutoIt3\Include\fileconstants.au3 0.06 ==> Start Add_Include: Include_Rec$:#include "Security.au3" 0.06 ==> Loading Include file into source Array:C:\Program Files (x86)\AutoIt3\Include\security.au3 0.06 ==> Start Add_Include: Include_Rec$:#include "SecurityConstants.au3" 0.06 ==> Loading Include file into source Array:C:\Program Files (x86)\AutoIt3\Include\securityconstants.au3 0.06 ==> Start Add_Include: Include_Rec$:#include "StructureConstants.au3" 0.06 ==> Skipped, Already included:"StructureConstants.au3" 0.06 ==> Start Add_Include: Include_Rec$:#include "WinAPIError.au3" 0.06 ==> Loading Include file into source Array:C:\Program Files (x86)\AutoIt3\Include\winapierror.au3This is one of the standard Includes including WinAPI From the script dir 0.06 ==> Start Add_Include: Include_Rec$:#include "WinAPI.au3" 0.06 ==> Loading Include file into source Array:d:developmentautoit3programstestwinapi.au3 0.06 ==> Start Add_Include: Include_Rec$:#include "StructureConstants.au3" 0.06 ==> Skipped, Already included:"StructureConstants.au3" 0.06 ==> Start Add_Include: Include_Rec$:#include "FileConstants.au3" 0.06 ==> Skipped, Already included:"FileConstants.au3" 0.06 ==> Start Add_Include: Include_Rec$:#include "Security.au3" 0.06 ==> Skipped, Already included:"Security.au3" 0.06 ==> Start Add_Include: Include_Rec$:#include "SendMessage.au3" 0.06 ==> Loading Include file into source Array:C:\Program Files (x86)\AutoIt3\Include\sendmessage.au3 0.06 ==> Start Add_Include: Include_Rec$:#include "WinAPIError.au3" 0.06 ==> Skipped, Already included:"WinAPIError.au3" 0.19 ==> Start Add_Include: Include_Rec$:#include "SendMessage.au3" 0.19 ==> Skipped, Already included:"SendMessage.au3" 0.19 ==> Start Add_Include: Include_Rec$:#include "WinAPIError.au3" 0.19 ==> Skipped, Already included:"WinAPIError.au3" The WinAPi is included twice because obfuscator assumes they are different files on different locations. So I am now wondering if I am using the wrong logic and need to Include from the Current dir were this file is located containing the #include statement when #include "file-to-be-included.au3" is used. Jos EDIT: So #include "whatever-file" is expected to be in the directory that contains the file having the #Include statement. This needs to be changed in Obfuscator. As a side note: This appearing after so many years probably is also a good indication you really shouldn't be same name includes at multiple locations. Edited August 9, 2013 by Jos michaelslamet 1 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.
jchd Posted August 10, 2013 Posted August 10, 2013 Jos, You could store only the hash of included files. Probability of spurious collision is zilch, it will works whereever files are and collision means exact same contents by any reasonable meaning. Then if people insist on shooting themselves in the feet, they aren't going to sue you. This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)
BrewManNH Posted August 10, 2013 Posted August 10, 2013 Or you could just mention that doing something stupid will result in their code not working. 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 GudeHow 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
michaelslamet Posted August 10, 2013 Posted August 10, 2013 Haha, nobody will sue anybody here Please note that I'm not here to complain anything, I'm just trying to find a solution for my "problem". Complaining is not my habit I'm showing how to produce it just to let Jos (as the developer) to decide if it worth to include the prevention into the next release to prevent another noob like me face the same problem, or maybe someday somebody landed in this page looking for similiar solution. And yes, many (most) of my questions are stupid, but I learn alot by asking those stupid questions and thanks to all of you that spending your previous time answering those noobist stupid questions I hope someday it will be my turn to answer questions from another (noob) member
michaelslamet Posted August 10, 2013 Posted August 10, 2013 Ok... I think I understand now. One of the nice things with Obfuscator is that it has a pretty complete Log file from each run... this is what happens with the includes: The WinAPi is included twice because obfuscator assumes they are different files on different locations. So I am now wondering if I am using the wrong logic and need to Include from the Current dir were this file is located containing the #include statement when #include "file-to-be-included.au3" is used. Jos EDIT: So #include "whatever-file" is expected to be in the directory that contains the file having the #Include statement. This needs to be changed in Obfuscator. As a side note: This appearing after so many years probably is also a good indication you really shouldn't be same name includes at multiple locations. Thanks Jos, for explaining this Like you said, one of the nice things with the Obfuscator is that it has a pretty complete log file, in fact, I solve it by examine the log file Yes, I really should not have same name includes at multiple locations, it is a bad practice, I'm going to remove them. Those scripts are old scripts (that get updated regulary until now) started around 2010 when I first know about AutoIT and I never realized those includes are there because they are ignored when running from SciTE and when compiling without Obfuscator.
Developers Jos Posted August 10, 2013 Author Developers Posted August 10, 2013 Jos, You could store only the hash of included files. Probability of spurious collision is zilch, it will works whereever files are and collision means exact same contents by any reasonable meaning. Then if people insist on shooting themselves in the feet, they aren't going to sue you. I just need Obfuscator to replicate the exact same behaviour as Autot3 to make sure the result is exactly the same when Obfuscator does the inclusion of the files. It is already fixed and will upload it later after some more testing. 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.
jchd Posted August 10, 2013 Posted August 10, 2013 Smart solution: they will sue Jon instead This wonderful site allows debugging and testing regular expressions (many flavors available). An absolute must have in your bookmarks.Another excellent RegExp tutorial. Don't forget downloading your copy of up-to-date pcretest.exe and pcregrep.exe hereRegExp tutorial: enough to get startedPCRE v8.33 regexp documentation latest available release and currently implemented in AutoIt beta. SQLitespeed is another feature-rich premier SQLite manager (includes import/export). Well worth a try.SQLite Expert (freeware Personal Edition or payware Pro version) is a very useful SQLite database manager.An excellent eBook covering almost every aspect of SQLite3: a must-read for anyone doing serious work.SQL tutorial (covers "generic" SQL, but most of it applies to SQLite as well)A work-in-progress SQLite3 tutorial. Don't miss other LxyzTHW pages!SQLite official website with full documentation (may be newer than the SQLite library that comes standard with AutoIt)
michaelslamet Posted August 10, 2013 Posted August 10, 2013 Smart solution: they will sue Jon instead
michaelslamet Posted August 27, 2013 Posted August 27, 2013 (edited) Jos, I cant obfuscate this function, the message is clear: !File contains records longer than 2047 .. stopping process. C:UsersWindowsDesktopmyscriptEzMySql_Dll.au3(25,1) Local $sData = '0x4D5A90000300000004000000FFFF0000B800000000000000400000000000000000000000000000000000000000000000000000000000000000000000F00000000E1FBA0E00B409CD21B8014CCD21546869732070726F6772616D2063616E6E6F742062652072756E20696E20444F53206D6F64652E0D0D0A2400000000000000C9F688528D97E6018D97E6018D97E60130D870018197E60193C56201BA97E60193C57301AB97E60193C565014597E601AA519D018A97E6018D97E7011297E60184EF6201AC97E60184EF65010697E60184EF74018C97E60184EF77018C97E601526963688D97E6010000000000000000504500004C010500635E734A0000000000000000E00002210B010900007E06000046130000000000A066050000100000009006000000001000100000000200000500000006000000050000000000000000301A00000400007C931A000200400180969800001000000000100000100000000000001000000070F20700571000007CE707005000000000B01900B40100000000000000000000000000000000000000C0190020500000000000000000000000000000000000000000000000000000000000000000000058C9070040000000000000000000000000900600200200000000000000000000000000000000000000000000000000002E74657874000000BD7C060000100000007E060000040000000000000000000000000000200000602E72646174610000C7720100009006000074010000820600000000000000000000000000400000402E6461746100000058911100001008000060110000F60700000000000000000000000000400000C02E72737263000000B401000000B019000002000000561900000000000000000000000000400000402E72656C6F6300003C6F000000C01900007000000058190000000000000000000000000040000042000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' !Ending Obfuscator program. This is the function: ; #FUNCTION# ==================================================================================================================== ; Name...........: _EzMySql_Dll ; Description ...: Creates a libmysql.dll or libmySQL_x64.dll ; Syntax.........: _EzMySql_Dll() ; Parameters ....: None ; Return values .: Returns Binary data of dll ; Author ........: Yoriz ; =============================================================================================================================== Func _EzMySql_Dll() ; Dont Tidy me! If @AutoItX64 = 0 Then Local $sData = '0x4D5A90000300000004000000FFFF0000B800000000000000400000000000000000000000000000000000000000000000000000000000000000000000F00000000E1FBA0E00B409CD21B8014CCD21546869732070726F6772616D2063616E6E6F742062652072756E20696E20444F53206D6F64652E0D0D0A2400000000000000C9F688528D97E6018D97E6018D97E60130D870018197E60193C56201BA97E60193C57301AB97E60193C565014597E601AA519D018A97E6018D97E7011297E60184EF6201AC97E60184EF65010697E60184EF74018C97E60184EF77018C97E601526963688D97E6010000000000000000504500004C010500635E734A0000000000000000E00002210B010900007E06000046130000000000A066050000100000009006000000001000100000000200000500000006000000050000000000000000301A00000400007C931A000200400180969800001000000000100000100000000000001000000070F20700571000007CE707005000000000B01900B40100000000000000000000000000000000000000C0190020500000000000000000000000000000000000000000000000000000000000000000000058C9070040000000000000000000000000900600200200000000000000000000000000000000000000000000000000002E74657874000000BD7C060000100000007E060000040000000000000000000000000000200000602E72646174610000C7720100009006000074010000820600000000000000000000000000400000402E6461746100000058911100001008000060110000F60700000000000000000000000000400000C02E72737263000000B401000000B019000002000000561900000000000000000000000000400000402E72656C6F6300003C6F000000C01900007000000058190000000000000000000000000040000042000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' $sData &= '8B4424148B4C240856578B7C241885C0752133D2B8F81F0000F7F183F8107705B81000000083FF0876098D143F3BC276028BC285FF75068BF833D2EB048B5424148B74240CC7460400000000897E0889460C894E10891685D2751C0FAFCF6A1051E8EAE0010083C408890685C075088946085FB0015EC35F32C05EC3CCCCCCCC8B4424108B4C240C8B542408508B442408516A005250E865FFFFFF83C414C3CC568B7424088B46085739460475618B0E8D56143BCA75358B4E0C03C80FAF4E106A1051E888E001008BF883C40885FF75055F33C05EC38B56100FAF56048B06525057E899E8040083C40CEB1B8B560C03D00FAF56106A505251E8F2E901008BF883C40C85FF74CA8B460C014608893E8B4E048B46100FAFC10306415F894E045EC3CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC8B44240853568B74240C573B460872478B4E0C03C133D2F7F18B56108BF88B060FAFF98D4E140FAFD73BC175306A1052E8EBDF01008BD883C40885DB74198B46040FAF46108B0E505153E801E8040083C40C891E897E085F5E32C05BC36A505250E85AE901008BD883C40C85DB75E35F5EB0015BC3CCCCCCCCCCCCCCCCCCCCCC568B7424088B068D4E143BC1741A85C0741D50E808E0010083C404C70600000000C7460800000000C74604000000005EC3CCCCCCCCCCCCCCCCCCCCCCCCCCCCCC568B7424088B4E043B4E08751156E89DFEFFFF83C40485C07510B0015EC38B46100FAFC1030641894E048B4E108B54240C515250E857E7040083C40C32C05EC3568B742408578B7C24143B7E04723C3B7E0872135756E8E5FEFFFF83C40884C074055FB0015EC38B4E048B46108BD72BD10FAFD00FAFC10306526A0050E87EEA04008D470183C40C8946048B46108B4C2410500FAFC703065150E8F1E6040083C40C5F32C05EC3CCCCCCCCCCCCCCCCCC8B5424148B4C2408568B742408578B7C24188BC22BC1503BCF73238D0C1603C65103C750E8370000008B4C242083C40C575156E8A8E6040083C40C5F5EC38D140E528D043E50E885EA04008B4C242083C40C575156E886E6040083C40C5F5EC38B44240C85C074168B4C2408568B7424088A51FF49484E881685C075F45EC3CC5668187D0910E8050A000068502B1910E8FB09000068A0C31310E8F109000068B0C71310E8E70900006840C71310E8DD0900006868790910E8D309000068D8790910E8C90900006888381910E8BF09000068B8B00A10E8B50900006828B10A10E8AB09000068C0B90A10E8A10900006870710E10E89709000068E0710E10E88D0900006818C60C10E8830900006888C60C10E87909000068C03A1110E86F09000083C44068303B1110E8620900006848B31310E85809000068B8B31310E84E0900006810E01410E8440900006880E01410E83A0900006898021510E83009000068' $sData &= '08031510E8260900006880AA1610E81C09000068F0AA1610E81209000068E0941610E8080900006850951610E8FE08000068C0951610E8F40800006830961610E8EA08000068A0961610E8E00800006810971610E8D60800006880971610E8CC08000083C44068F0971610E8BF0800006860981610E8B508000068D0981610E8AB0800006840991610E8A108000068B0991610E89708000068209A1610E88D08000068909A1610E88308000068009B1610E87908000068709B1610E86F08000068E09B1610E86508000068509C1610E85B08000068C09C1610E8510800006830511810E84708000068A0511810E83D08000068B8E91810E8330800006828EA1810E82908000083C44068389E1610E81C08000068A89E1610E81208000068189F1610E80808000068889F1610E8FE07000068F89F1610E8F40700006868A01610E8EA07000068D8A01610E8E00700006848A11610E8D607000068B8A11610E8CC0700006828A21610E8C20700006898A21610E8B80700006808A31610E8AE0700006878A31610E8A407000068E8A31610E89A0700006858A41610E89007000068C8A41610E88607000083C4406838A51610E87907000068A8A51610E86F0700006818A61610E86507000083C40C833D4CCB0F1000BE38CB0F1074168D64240056E84A07000083C66C83C404837E140075EE32C05EC3CCCCCCCCCCCCCCCCCCCC8B4424048B4C24083BC174328B49108B40108A103A11751A84D274128A50013A5101750E83C00283C10284D275E433C0EB051BC083D8FF85C0740333C0C3B801000000C3CCCCCCCCCCCCCCCCCCCCCCCC56BEE08B19108B0685C0741F8B401485C074185750A108C413108B481C68A0C31310FFD183C40C85C0740F83C60481FEDC8F191072D033C05EC38B168B025EC351576A1068000100008BF8E8A0DC010083C40889474485C07505B0015F59C36A106800010000E885DC010083C4088944240489474885C074E15355568B774433DB8B47200FB6EB8A442801A8037406C6043302EB38A8047406C604330EEB2E8B4F648B51085357FFD283C40883F8017606C6043302EB168B47208A4C280180E108F6D91AC980E119FEC1880C334381FB0001000072AB8B4C2410B01188467C884626C6462402C6465F02C646270AC6462E10C6462108C6463D08C6463E08C6463C09C646230BC6463B16C6463A17C60612C6465C13C6462F14C6462A15C6464018C646601BC64622218BC62BCEBF000100008A1080FA02740980FA0E740432D2EB02B2018814014083EF0175E5B01E884658884678B01F884642884662B02088464E88466E5E5D5B32C05F59C3CCCCCC8B0785C075028B0689068B471085C074166A1050E827DC010083C40889461085C00F84FC0000008B471485C074166A1050E80ADC010083C40889461485C00F84DF00' $sData &= '00008B471885C074166A1050E8EDDB010083C40889461885C00F84C20000008B472085C0742A6A10680101000050E81BDC010083C40C89462085C00F84A00000008BC6E846FEFFFF84C00F85910000008B472485C074176A10680001000050E8EADB010083C40C89462485C074738B472885C074176A10680001000050E8CCDB010083C40C89462885C074558B472C85C074176A10680001000050E8AEDB010083C40C89462C85C074378B473885C074176A10680002000050E890DB010083C40C89463885C074198B471C85C074186A1050E827DB010083C40889461C85C07506B801000000C333C0C3CCCCCCCC83781000743583783800742F83782000742983782800742383782400741D833800741883781400741283782C007506F6400C107406B801000000C333C0C3CCCC8B51648950648B51688950688B514C89504C0FB7515C6689505C0FB7515E6689505E8B51548950548B495881480CC8020000894858C3CCCCCCCCCCCCCCCCCCCC53558B6C240C56578B7D1485FF0F84F6000000837D00007510E8C2FCFFFF89450085C00F84E00000008B4500833C85E08B19100075356A006A6CE891D901008B4D0089048DE08B19108B55008B0495E08B191083C40885C00F84F00100006A6C6A0050E818E3040083C40C8B45003945047504834D0C203945087504834D0C108B0485E08B19108B4D0C09480C8B45008B3485E08B1910F6460C010F85580100008BFD8BDEE8A6FDFFFF85C00F859C0100008B7510B9789206108BC68D6424008A103A11751A84D274128A50013A5101750E83C00283C10284D275E433C0EB051BC083D8FF85C07527B9E09416108BC3E8CBFEFFFF33C089450089450489450889451489452C89450C5F5E5D33C05BC3B9709206108BC68A103A11751A84D274128A50013A5101750E83C00283C10284D275E433C0EB051BC083D8FF85C07507B9389E1610EBA78B55008B0495E08B1910F6400C108B502C7409C74068507C0910EB07C740685CDF1310C74064F0DE1310B8010000008943548943588B45008B0C85E08B19108BC1E8F3FDFFFF84C0740483490C088B4D008B048DE08B191081480C0002000085D2741E8A426138424173163A424273118B55008B0495E08B191081480C000400008B45008B0C85E08B191051E8E826010083C40484C00F8412FFFFFF8B55008B0495E08B191081480C00100000E9FCFEFFFF89068B451885C074126A1050E886D8010083C40889461885C0743A8B451085C074126A1050E86DD8010083C40889461085C074218B451485C00F84BDFEFFFF6A1050E850D8010083C40889461485C00F85A7FEFFFF5F5E5DB8010000005BC3CCCCCCCCCCCCCCCC83EC345355578BF8568D4424145057E8DCD4010083C40C85C074598B4424248BE8896C240C3D0000100077485650E84DD50100' $sData &= '8BD883C40885DB7438566A0057E80BDD01008BF883C40C85FF7C1D56555357E899DD010056578BE8E880D801008B44242483C4183BE8741253E88FD5010083C4045F5DB0015B83C434C368701900105053E81725010053E871D5010083C4105F5D32C05B83C434C3CCCCCCCCCCA1806F19105685C074218B74240868FF0100005056E85615020083C40C6A005656E82A95010083C40C5EC3689C920610E8ABCB010083C40485C0754B6890920610689C920610E8653E010083C40885C075358B7424085068849206106880920610689C9206106880920610689092061056E8FA1A020083C41C6A005656E8CE94010083C40C5EC38B7424086A0068849206106880920610689C92061056E8CE1A020083C4146A005656E8A294010083C40C5EC3CCCCCCCCCCCCCCCCCCCCCCCCCC8B4424048B0889048DE08B191081480C00020000C3CCCCCCCCCCCCCCCCCCCCCC8B4424046A1050E8E4D5010083C408C381EC10020000A1D057191033C48984240C0200005332DB833D846F191000568BF10F859B0000006820891910FF15C4900610833D846F191000757C5768000400006A0068E08B1910E843DF040056E86DF5FFFF83C410BFE08B1910EB038D49008B0785C0741583782000740FE8BFF8FFFF84C07406C7070000000083C70481FFDC8F191072DA8D44240C68A492061050E87BFEFFFF83C40450E81214020083C4088D44240CE8C6FDFFFF8AD8C705846F1910010000005F6820891910FF15C89006108B8C24140200005E8AC35B33CCE8A1E2040081C410020000C3CCCCCCCCCCC705846F191000000000C3CCCCCCCCCC53565733C9E806FFFFFF8B5C24148B7C2410BEE08B19108B0685C074248B481085C9741D85580C7418A108C4131057518B481C68A0C31310FFD183C40C85C0741183C60481FEDC8F191072CB5F5E33C05BC38B168B025F5E5BC3CCCCCCCCCCCC81EC04020000A1D057191033C4898424000200008B842408020000578B3C85E08B191085FF0F84A1000000F7470C000100000F85940000006820891910FF15C4900610F6470C09752A8B4F106A0068B4920610518D54241052E862FDFFFF83C40450E8C918020083C4108D442404E8ADFCFFFF8B470CA9000200007442A900010000753D8B476483380074118B0068501D001057FFD083C40884C075228B476883380074118B0868501D001057FFD183C40884C07509814F0C00010000EB0233FF6820891910FF15C89006108B8C24040200008BC75F33CCE848E1040081C404020000C3CCCCCCCCCCCCCCCCCCCCCCCC81EC10020000A1D057191033C48984240C0200005356578BBC242002000033C9E89BFDFFFF33C9E894FDFFFFE87FF6FFFF8B9C242402000085C0745A508BF3E8CCFEFFFF8BF083C40485F67531F6C310742A8D44240C68A492061050E86FFCFFFF83C404' $sData &= '50E8061202008D4C241451576A046A1CE847A9010083C4188BC68B8C24180200005F5E5B33CCE8A6E0040081C410020000C333F6EBB3CCCCCCCCCCCC81EC10020000A1D057191033C48984240C0200005356578BBC242002000033C9E8FBFCFFFF8B8424240200005057E8DDFDFFFF8B9C243002000083C40885C0745A508BF3E827FEFFFF8BF083C40485F67531F6C310742A8D4C240C68A492061051E8CAFBFFFF83C40450E8611102008D54241452576A046A16E8A2A8010083C4188BC68B8C24180200005F5E5B33CCE801E0040081C410020000C333F6EBB3CC518B4424108B4C2418568B7424108974240485C0740348EB038D04095303C6558B6C2414894424248B456483780400578B7C24248D1C0F0F95442420C644241C003BFB0F83B90000008DA42400000000807C242000745A8B4D648B5104535755FFD283C40C85C0741B8D0C303B4C24280F87870000008A17488816464785C075F54FEB6E0FBE0F8B45648B50085155FFD283C40883F8017E188A0784C074468D56023B5424287755C6065C46880646EB418A070FBEC883F95C772A0FB68920220010FF248D00220010B030EBD2B06EEBCEB072EBCAB05CEBC6B027EBC2B022EBBEB05AEBBA8D4E013B4C2428770F88068BF1473BFB0F8255FFFFFFEB05C644241C01807C241C005F5DC606005B740683C8FF5E59C32B7424048BC65E59C38BFFA9210010AD210010B1210010C1210010BD210010B9210010B5210010C5210010000707070707070707070107070207070707070707070707070703070707070707070407070707050707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070707070706CCCCCC83EC10A1D057191033C48944240CA1886F191085C00F857D00000066A1C49206108A0DC69206106A078D54240652668944240833C068041000006800080000884C241289442413668944241788442419FF15C0900610B9BC9206108D04248BFF8A103A11751A84D274128A50013A5101750E83C00283C10284D275E433C0EB051BC083D8FF85C0B8B8B00A107405B8187D0910A3886F19108B4C240C33CCE8B2DD040083C410C3CCCCCCCCCCCCCCCCCC518B4424108B4C2418568B7424108974240485C0740348EB038D040903C6538B5C241055894424248B436483780400578B7C24248D2C0F0F95442420C644241C003BFD7361807C24200074298B4B648B5104555753FFD283C40C85C074178D0C303B4C2428773A8A17488816464785C075F54FEB258A0F80F92775118D46023B442428771C880E46880E46EB0D8D46013B442428770B880E8BF0473BFD72A6EB05C644241C01807C241C005F5DC606005B740683C8FF5E59C32B7424048BC65E59C3CCCCCCCCCCCCCCCCCCCCCCCCCCCC8B44240856' ; continue in the same format until line 4000 ++ EndIf Return Binary($sData) EndFuncI think it's not possible to obfuscate it? Edit: I try to ignore it using #obfuscator_Ignore_Funcs=_EzMySql_Dll But still the same error Edited August 27, 2013 by michaelslamet
BrewManNH Posted August 27, 2013 Posted August 27, 2013 Did you read the error message? It tells you why it won't work. Your line is longer than 2047 characters, make them shorter. 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 GudeHow 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
Recommended Posts