Jump to content

Recommended Posts

Posted

FINALLY! I've been having he same error an year ago and I'm still experiencing it when trying to run obfuscated scripts.

It appears no one other than me got the strange error... I even reported it as a bug to Jos (the guy who built the obfuscator), but he found nothing...

Try to run the obfuscated scrips (even the compiled ones) on another computer, you'll see that they work fine.

I'll search for the error report I made and come back with info...

  • Developers
Posted (edited)

I will have a look at this and think I know what is going wrong.

Here is a simple replicator script:

#AutoIt3Wrapper_Run_Obfuscator=y
If $cmdline[0] = 0 Then
    for $n = 1 to 5
        run(@ScriptFullPath & " 1")
;~      sleep(50)
    Next
    Exit
EndIf
;
$a = 1
$b = 2
$c = $a + $b

so as you see you guys have made it much to complicated. :P

Jos

Edited by 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.
  :)

  • Developers
Posted (edited)

Uploaded a new beta version to the Beta directory.

Could you guys do some testing with it to see if your issues are solved?

I tested with this script and didn't get any problems anymore:

#AutoIt3Wrapper_Run_Obfuscator=y
If $cmdline[0] = 0 Then
    for $n = 1 to 100
        run(@ScriptFullPath & " " & $n)
    Next
    Exit
EndIf
$a = 1
$b = 2
$c = $a + $b
; write log entry
Do 
Until FileWriteLine("test.log",$cmdline[1])

Thanks

Jos

Edited by 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.
  :)

Posted

Could you guys do some testing with it to see if your issues are solved?

I tested with this script and didn't get any problems anymore:

I tested it and it worked fine and dandy :P Thanks a lot for fixing it!

Posted

Uploaded a new beta version to the Beta directory.

Could you guys do some testing with it to see if your issues are solved?

Jos, I think you've fixed it!

I've tested (obfuscated) my three problem scripts and they're all working fine. I cycled one particular problem sequence 50 times without a failure.

Without getting too technical, can you give us an idea of what you found/changed?

Thanks for solving this one.

  • Developers
Posted

Without getting too technical, can you give us an idea of what you found/changed?

I would have to explain how things are working to explain what was going wrong. :P

Obfuscation is sometimes a pain as debugging is somewhat of a challenge, but a fun challenge.

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.
  :)

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
×
×
  • Create New...