Jump to content

Obfuscator For UTF8 With BOM


Recommended Posts

Hi All,

I've just update SciTE4AutoIt3 to latest version 3.3.6 and tried Obfuscator function but it's failed. 

Error Message came up like this:

- Use Obfuscator from Tool --> Obfuscator then get error: 'C:Program' is not recognized as an internal or external command, operable program or batch file.

-Use Obfuscator from Tool --> Compile then: Au2Exe Error, Source file not specified.

Please help.....

[topic='27925']WebcamExample[/topic] || [topic='68866']WebcamUDF[/topic] || [topic='138222']DSShowCaptureFilter[/topic] || [topic='20121']ScreenResolutionChange[/topic] || [topic='139426']WebcamDS[/topic] || [topic='156613']ObfuscatorUTF8[/topic] || [topic='156219']VideoColorSystemPAL/NTSC[/topic] || [topic='31963']ExcelWindowsInGUI[/topic] || [topic='110473']4Webcam[/topic] || [topic='83763']RichEdit[/topic] || [topic='83763']RichEditUDF[/topic] || [topic='142384']RichEditLabel[/topic] ||[topic='96986']GUITFLabel[/topic] || [topic='32144']AccessCom[/topic] || [topic='38353']BetaPad[/topic] || [topic='31963']EmbeddedExcel[/topic]

Link to comment
Share on other sites

  • Developers

Show the SciTE console output so I can see what is happening.

ps. There is limited support for UTF flavour files, but that will be clearly shown in the console.

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

>"C:\Program Files\AutoIt3\SciTE\AutoIt3Wrapper\AutoIt3Wrapper.exe" /ShowGui /in "D:\UTF8-BOM.au3"
+>23:16:51 Starting AutoIt3Wrapper v.2.1.3.0 SciTE v.3.3.6.0 ;  Keyboard:00000409  OS:WIN_7/  CPU:X64 OS:X86    Environment(Language:0409  Keyboard:00000409  OS:WIN_7/  CPU:X64 OS:X86)
-> 1 Change(s) made.
>Running AU3Check (1.54.22.0)  from:C:\Program Files\AutoIt3
+>23:17:01 AU3Check ended.rc:0
! Input file is UTF8 encoded. Obfuscator does not support this and will be skipped.
>Running:(3.3.8.1):C:\Program Files\AutoIt3\aut2exe\aut2exe.exe  /in "" /out "C:\Users\Q\~AU3uftpryo.exe" /nopack /icon "D:\Logo.ico" /comp 2
!>23:17:10 Aut2exe.exe ended errors because the target exe wasn't created, abandon build. (C:\Users\Q\~AU3uftpryo.exe)rc:9999
>Exit code: 0    Time: 19.126

This is SciTE console output as your request. Please help...Thanks

Edited by gicungduoc

[topic='27925']WebcamExample[/topic] || [topic='68866']WebcamUDF[/topic] || [topic='138222']DSShowCaptureFilter[/topic] || [topic='20121']ScreenResolutionChange[/topic] || [topic='139426']WebcamDS[/topic] || [topic='156613']ObfuscatorUTF8[/topic] || [topic='156219']VideoColorSystemPAL/NTSC[/topic] || [topic='31963']ExcelWindowsInGUI[/topic] || [topic='110473']4Webcam[/topic] || [topic='83763']RichEdit[/topic] || [topic='83763']RichEditUDF[/topic] || [topic='142384']RichEditLabel[/topic] ||[topic='96986']GUITFLabel[/topic] || [topic='32144']AccessCom[/topic] || [topic='38353']BetaPad[/topic] || [topic='31963']EmbeddedExcel[/topic]

Link to comment
Share on other sites

  • Developers

I would think that this error is pretty clear:

! Input file is UTF8 encoded. Obfuscator does not support this and will be skipped.

 

AutoIt3Wrapper should however stop after that in stead of continuing, but that doesn't solve your issue.

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

Yes, It just need to be skipped but it stopped....Then do you have any idea? Jos?

[topic='27925']WebcamExample[/topic] || [topic='68866']WebcamUDF[/topic] || [topic='138222']DSShowCaptureFilter[/topic] || [topic='20121']ScreenResolutionChange[/topic] || [topic='139426']WebcamDS[/topic] || [topic='156613']ObfuscatorUTF8[/topic] || [topic='156219']VideoColorSystemPAL/NTSC[/topic] || [topic='31963']ExcelWindowsInGUI[/topic] || [topic='110473']4Webcam[/topic] || [topic='83763']RichEdit[/topic] || [topic='83763']RichEditUDF[/topic] || [topic='142384']RichEditLabel[/topic] ||[topic='96986']GUITFLabel[/topic] || [topic='32144']AccessCom[/topic] || [topic='38353']BetaPad[/topic] || [topic='31963']EmbeddedExcel[/topic]

Link to comment
Share on other sites

  • Developers

Yes, It just need to be skipped but it stopped....Then do you have any idea? Jos?

Sure, just download the current version from the Beta directory and store that in the correct directory,that will fix this bug you reported. ;)

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

Hi Jos,

I've just tested with your provided beta, It solved the bug However this mean my script will take no action with obfuscator function..? and it's not safety. I expected your beta version just skip all UTF8 char in my script and could take action with other things...but it didn't, i am correct?.

[topic='27925']WebcamExample[/topic] || [topic='68866']WebcamUDF[/topic] || [topic='138222']DSShowCaptureFilter[/topic] || [topic='20121']ScreenResolutionChange[/topic] || [topic='139426']WebcamDS[/topic] || [topic='156613']ObfuscatorUTF8[/topic] || [topic='156219']VideoColorSystemPAL/NTSC[/topic] || [topic='31963']ExcelWindowsInGUI[/topic] || [topic='110473']4Webcam[/topic] || [topic='83763']RichEdit[/topic] || [topic='83763']RichEditUDF[/topic] || [topic='142384']RichEditLabel[/topic] ||[topic='96986']GUITFLabel[/topic] || [topic='32144']AccessCom[/topic] || [topic='38353']BetaPad[/topic] || [topic='31963']EmbeddedExcel[/topic]

Link to comment
Share on other sites

  • Developers

Correct Obfuscator can't handle any UTF encoded files when doing actual Obfuscation and will likely never support UTF files as I have stopped any development for the Obfuscation process.

I might one day add the UTF support for the Stripping functionality but have no concrete plans yet.

I don't know what you mean by it not being safe as Obfuscation doesn't make your source safe either.

The new Beta is AutoItwrapper which only runs the different utilities.

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

Hi Jos,

My script must use UTF format because of supporting my country language. As you mentioned Obfuscator can't handle any UTF encoded files then..What if the script including many other .au3 files which are not UTF format?, Does Obfuscator function takes effect with those included files?....

[topic='27925']WebcamExample[/topic] || [topic='68866']WebcamUDF[/topic] || [topic='138222']DSShowCaptureFilter[/topic] || [topic='20121']ScreenResolutionChange[/topic] || [topic='139426']WebcamDS[/topic] || [topic='156613']ObfuscatorUTF8[/topic] || [topic='156219']VideoColorSystemPAL/NTSC[/topic] || [topic='31963']ExcelWindowsInGUI[/topic] || [topic='110473']4Webcam[/topic] || [topic='83763']RichEdit[/topic] || [topic='83763']RichEditUDF[/topic] || [topic='142384']RichEditLabel[/topic] ||[topic='96986']GUITFLabel[/topic] || [topic='32144']AccessCom[/topic] || [topic='38353']BetaPad[/topic] || [topic='31963']EmbeddedExcel[/topic]

Link to comment
Share on other sites

  • Developers

Hi Jos,

My script must use UTF format because of supporting my country language. As you mentioned Obfuscator can't handle any UTF encoded files then..What if the script including many other .au3 files which are not UTF format?, Does Obfuscator function takes effect with those included files?....

Obfuscator will stop processing when any of the files required is UTF encoded because it cannot process widecharacters at this moment and would basically cripple your script when it would continue.

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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

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