Modify

Opened 14 years ago

Closed 14 years ago

#2127 closed Bug (Rejected)

Obfuscator /striponlyincludes does not process block comments correctly

Reported by: Koder <rick2000@…> Owned by:
Milestone: Component: Other
Version: 3.3.9.0 Severity: None
Keywords: Obfuscator, striponlyincludes Cc:

Description

Obfuscator (v1.0.28.7) /striponlyincludes leaves the block comment end directives (#CE, #comments-end) within the obfuscated script. The actual comment and the comment start directives are removed as expected.

Example: script

MsgBox(0, "Hi", "Hello world")
#comments-start
	Block comment 1
#comments-end
#CS
	Block comment 2
#CE

Example obfuscated script:

MsgBox(0, "Hi", "Hello world")
#comments-end
#CE

The obfuscated script still compiles and runs. But there are at least two other Obfuscator (/striponly) bugs similar to this one since after build AutoIT 3.3.7.21, but I can't determine the conditions. One results in a zero size Obfuscated script file. The other is simply a skipped include file. My best guess is that the position/order of the #include directives within the script. But my scripts are 3-5 thousand lines not counting included scripts and I cannot yet recreate with smaller examples.

Attachments (0)

Change History (1)

comment:1 by trancexx, 14 years ago

Resolution: Rejected
Status: newclosed

Obfuscator is not official AutoIt tool. It only happens that the creator of that tool is AutoIt dev. Obfuscator has its own thread in examples script forum, try posting there.

Modify Ticket

Action
as closed The ticket will remain with no owner.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.