Custom Query

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (31 - 33 of 3866)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Ticket Resolution Summary Owner Reporter
#2191 Duplicate #Include not work from file saved in some UTF format Jos aymhenry@…
Description

Create a file with Encoding one of the following :- 0- Create a file with name "test.au3" on the same dir. 1- Create another file with UTF-16 Big Endian. 2- or UTF-16 littel Endian. 3- or UTF-8 with BOM

Type a code in :- #include "Test.au3"

Press F5

you get an Error ERROR: can't open include file <test.au3>

it is ok, if Encoding is UTF-8 or Code page proberity.

#1893 Rejected #Include-All willichan <willi_chan@…>
Description

I would like to see a new pre-compiler directive, #Include-All. Syntax would be similar to the #Include directive, but would allow for wildcards in the filename. In the absence of a path, the main script path would be assumed.

Example: #Include-All <*.inc.au3> would include all files with ".inc.au3" as the extension within the same path/folder as the main script being compiled/run.

Reason: I write scripts that often have additional functionality added as time goes on, such as machine data or installed software information gathering. New software or component detection often requires a new function to handle it. Rather than modifying the code in multiple places to accommodate the function, The main script could be driven by an array of functions. Each new addition would need only be a new include file that adds itself to the appropriate controlling arrays.

This method would also apply well for spyware/malware removal scripts that I have written.

Adding new functionality would then require only sending the new include to the client, and having them drop it into the script folder and re-compiling.

#2524 Fixed #Obfuscator_Parameters=/mo - issue and script line on AutoIt Error message Jos mlipok
Description

Pseudo repro code:

#AutoIt3Wrapper_Run_Obfuscator=Y
#Obfuscator_Parameters=/mo

;~ #include <ie.au3>
Global _; Com Error Handler Status Strings
		$IEComErrorNumber, _
		$IEComErrorNumberHex, _
		$IEComErrorDescription, _
		$IEComErrorScriptline, _
		$IEComErrorWinDescription, _
		$IEComErrorSource, _
		$IEComErrorHelpFile, _
		$IEComErrorHelpContext, _
		$IEComErrorLastDllError, _
		$IEComErrorComObj, _
		$IEComErrorOutput

Local $aTest
$sInfo = _
		'test1' & @CRLF & _
		'TEST2'


ConsoleWrite($aTest[2])
$sInfo2 = _
		'test1' & @CRLF & _
		'TEST2'


now #Obfuscator_Parameters=/mo create that something

Global _
		$IEComErrorNumber, $IEComErrorNumberHex, $IEComErrorDescription, $IEComErrorScriptline, $IEComErrorWinDescription, $IEComErrorSource, $IEComErrorHelpFile, $IEComErrorHelpContext, $IEComErrorLastDllError, $IEComErrorComObj, $IEComErrorOutput
Local $aTest
$sInfo = 'test1' & @CRLF & 'TEST2'
ConsoleWrite($aTest[2])
$sInfo2 = 'test1' & @CRLF & 'TEST2'

but Obfuscator.exe should generate code in this way:

Global $IEComErrorNumber, $IEComErrorNumberHex, $IEComErrorDescription, $IEComErrorScriptline, $IEComErrorWinDescription, $IEComErrorSource, $IEComErrorHelpFile, $IEComErrorHelpContext, $IEComErrorLastDllError, $IEComErrorComObj, $IEComErrorOutput
Local $aTest
$sInfo = 'test1' & @CRLF & 'TEST2'
ConsoleWrite($aTest[2])
$sInfo2 = 'test1' & @CRLF & 'TEST2'

SUMMARY: These scripts are only examples - that is an easy way to show where the problem is. But in order to show the result of the problem, I will present a different example:

Try to compile this

#AutoIt3Wrapper_Run_Obfuscator=Y
#Obfuscator_Parameters=/mo
#include <ie.au3>
Local $aTest
ConsoleWrite($aTest[2])

Run that exe file.

and you got something like this:

AutoIt Error
OK
Line 2573  (File "L:\TEST_obfuscator_3.exe"):

Error: Subscript used with non-Array variable.

but this is not true - I mean the correct line is 2577.

When you look to obfuscated file, then you see that the problem is in:

Global _
$IEComErrorNumber, 		$IEComErrorNumberHex, 		$IEComErrorDescription, 		$IEComErrorScriptline, 		$IEComErrorWinDescription, 		$IEComErrorSource, 		$IEComErrorHelpFile, 		$IEComErrorHelpContext, 		$IEComErrorLastDllError, 		$IEComErrorComObj, 		$IEComErrorOutput
Global Enum _
$_IEStatus_Success = 0, 		$_IEStatus_GeneralError, 		$_IEStatus_ComError, 		$_IEStatus_InvalidDataType, 		$_IEStatus_InvalidObjectType, 		$_IEStatus_InvalidValue, 		$_IEStatus_LoadWaitTimeout, 		$_IEStatus_NoMatch, 		$_IEStatus_AccessIsDenied, 		$_IEStatus_ClientDisconnected
Global Enum Step * 2 _
$_IENotifyLevel_None = 0, 		$_IENotifyNotifyLevel_Warning = 1, 		$_IENotifyNotifyLevel_Error, 		$_IENotifyNotifyLevel_ComError
Global Enum Step * 2 _
$_IENotifyMethod_Silent = 0, 		$_IENotifyMethod_Console = 1, 		$_IENotifyMethod_ToolTip, 		$_IENotifyMethod_MsgBox

I mean:

Global _
Global Enum _
Global Enum Step * 2 _
Global Enum Step * 2 _
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
Note: See TracQuery for help on using queries.