Modify

Opened 13 years ago

Closed 13 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 Changed 13 years ago by trancexx

  • Resolution set to Rejected
  • Status changed from new to closed

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.

Guidelines for posting comments:

  • You cannot re-open a ticket but you may still leave a comment if you have additional information to add.
  • In-depth discussions should take place on the forum.

For more information see the full version of the ticket guidelines here.

Add Comment

Modify Ticket

Action
as closed The ticket will remain with no owner.
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.