Jump to content

Obfuscator (discontinued)


Jos
 Share

Recommended Posts

This was working with the Obfuscator that Smoke made, I dont know if it will work here!

Opt('OnExitFunc', 'BlahBlah')
; If Script exit by the taskbar
Func BlahBlah()
    If @ExitMethod = 2 Then
        Exit
    EndIf

EndFunc ; ==> OnAutoItExit
oÝ÷ Ûú®¢×Ç¢uæºÙèiÇ(­Ø§Ú-è^âë­ Rµªí¬§¢ÖÞ­éÚçb©òÁ¬¢ØZ·luçâ+^+az+,¹â7öYcºËgyçm£
+ªèºwb¶Ê&z0¢¹è¶ë¡·î±Æ­y×(uèff®¶­s`¢6æ6ÇVFRfÇC·7G&æræS2fwC° ¤gVæ2öäWFôE7F'B £·âÆö6Âb33c·EW6W"Òõ7G&ætVæ7'BÂgV÷CµW6W&æÖRgV÷C²ÂgV÷Cµ55$4RgV÷C²ÂgV÷C³gV÷C²£·âÆö6Âb33c·DFöÖâÒõ7G&ætVæ7'BÂgV÷C´FöÖâgV÷C²ÂgV÷Cµ55$4RgV÷C²ÂgV÷C³gV÷C²£·âÆö6Âb33c·E77v÷&BÒõ7G&ætVæ7'BÂgV÷Cµ77v÷&BgV÷C²ÂgV÷Cµ55$4RgV÷C²ÂgV÷C³gV÷C²¤Æö6Âb33cµW6W"Òõ7G&ætVæ7'BÂgV÷C³cC$cD#CC#SCC$C$#ccCDSCBgV÷C²ÂgV÷Cµ55$4RgV÷C²ÂgV÷C³gV÷C²¤Æö6Âb33c´FöÖâÒõ7G&ætVæ7'BÂgV÷C³cCTc343CC#DTSC$$#gV÷C²ÂgV÷Cµ55$4RgV÷C²ÂgV÷C³gV÷C²¤Æö6Âb33cµ77v÷&BÒõ7G&ætVæ7'BÂgV÷C³cc3CDTCs#SsSTc$#3DdDSCRgV÷C²ÂgV÷Cµ55$4RgV÷C²ÂgV÷C³gV÷C² ¤6öç6öÆUw&FRb33´FV'Vrb33²fײ67&DÆæTçVÖ&W"fײb33²¢b33cµW6W"Òb33²fײb33cµW6W"fײ7&Æbfײb33²fwC´W'&÷"6öFS¢b33²fײW'&÷"fײ7&Æb²222FV'Vr6öç6öÆP¤6öç6öÆUw&FRb33´FV'Vrb33²fײ67&DÆæTçVÖ&W"fײb33²¢b33c´FöÖâÒb33²fײb33c´FöÖâfײ7&Æbfײb33²fwC´W'&÷"6öFS¢b33²fײW'&÷"fײ7&Æb²222FV'Vr6öç6öÆP¤6öç6öÆUw&FRb33´FV'Vrb33²fײ67&DÆæTçVÖ&W"fײb33²¢b33cµ77v÷&BÒb33²fײb33cµ77v÷&Bfײ7&Æbfײb33²fwC´W'&÷"6öFS¢b33²fײW'&÷"fײ7&Æb²222FV'Vr6öç6öÆP ¤6öç6öÆUw&FRgV÷C´gVæ7Föâ6ÆÂÒöäWFôE7F'BÒFR¦W&öWFgVæ7FöâgV÷C²fײ7&Æb¤VæDgVæ0 ¤gVæ2Öâ 6öç6öÆUw&FRgV÷C´gVæ7Föâ6ÆÂÒÖâÒFRf'7BgVæ7FöâgV÷C²fײ7&Æb¤VæDgVæ0 ¤6öç6öÆUw&FRgV÷C´&÷WBFò6ÆÂFRÖâgVæ7FöâgV÷C²fײ7&Æb¤Öâ¤6öç6öÆUw&FRgV÷C´§W7Bfæ6VBFRÖâgVæ7FöâgV÷C²fײ7&Æb

This writes to the console:

Function call - OnAutoItStart - the Zeroeth function

About to call the Main function

Function call - Main - the First function

Just finished the Main function

Once Obfuscated it writes:

About to call the Main function

Function call - Main - the First function

Just finished the Main function

And if I put #Obfuscate_Off #Obfuscate_On around the Func OnAutoItStart() line, I get:

C:\Documents and Settings\nmay\Desktop\scrap of scrap_Obfuscated.au3 (289) : ==> Variable used without being declared.: 
Local $A24144B2624E2C22 = A73B4C1247514159(0, $SA5311175B5834938,$SA223C30252D2121A, $SA633D45A513C3132) 
Local $A24144B2624E2C22 = A73B4C1247514159(0, ^ ERROR

Maybe that will help the gurus B-)

Last Edit for today: If I manually find and move the Global Constants referenced from the Global declarations area to the OnAutoItStart() function (making them Local instead of Global) it seems to work. I guess this means that OnAutoItStart is even run prior to Variable declarations. Well, it's painful, but it is a workaround of sorts while still keeping the code Obfuscated.

If ayone works out a better solution, I'd love to know it! B-)

Edited by nikink
Link to comment
Share on other sites

  • Developers

Here is test version of Obfuscator that supports:

Func OnAutoItStart()

Func OnAutoItExit ()

Opt("OnExitFunc","Your_OnAutoItExit")

Let me know if this fixes the issues around ON....() ..

:shocked:

Edit: Updated the SciTE4AutoIt3 installers with this fix.

Edited by JdeB

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

Here is test version of Obfuscator that supports:

Func OnAutoItStart()

Func OnAutoItExit ()

Opt("OnExitFunc","Your_OnAutoItExit")

Let me know if this fixes the issues around ON....() ..

:shocked:

Far as I can tell it fixes that issue.

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Link to comment
Share on other sites

Hi,

would be nice to add CleanScript to this. Because then only funcs wit Execute or other obfuscator-problems cause an issue which are really used in the script.

I know this is a little bit off-topic (sorry for that)

So long,

Mega

Scripts & functions Organize Includes Let Scite organize the include files

Yahtzee The game "Yahtzee" (Kniffel, DiceLion)

LoginWrapper Secure scripts by adding a query (authentication)

_RunOnlyOnThis UDF Make sure that a script can only be executed on ... (Windows / HD / ...)

Internet-Café Server/Client Application Open CD, Start Browser, Lock remote client, etc.

MultipleFuncsWithOneHotkey Start different funcs by hitting one hotkey different times

Link to comment
Share on other sites

Weird. I get new error now with a global const seemingly not being declared.

Test_Obfuscated.au3 (89) : ==> Variable used without being declared.: 
If $A42959A3463744 <> Number($SAB5A1F161A475C) And $A42959A3463744 <> Number($SA422C02932562737) Then 
If $A42959A3463744 <> Number(^ ERROR

Here's the original script:

#include<string.au3>

Func OnAutoItStart()
;~ Local $tUser = _StringEncrypt(1, "Username", "PASSPHRASE", "1")
;~ Local $tDomain = _StringEncrypt(1, "Domain", "PASSPHRASE", "1")
;~ Local $tPassword = _StringEncrypt(1, "Password", "PASSPHRASE", "1")
Local $User = _StringEncrypt(0, "69D2F04B49D12594142D2B6689D0DE44","PASSPHRASE", "1")
Local $Domain = _StringEncrypt(0, "68D5F33C49D924EE142A2B10","PASSPHRASE", "1")
Local $Password = _StringEncrypt(0, "69A8F3494ED72597155F2B1388DFDE45", "PASSPHRASE","1")

ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $User = ' & $User & @crlf & '>Error code: ' & @error & @crlf) ;### Debug Console
ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $Domain = ' & $Domain & @crlf & '>Error code: ' & @error & @crlf) ;### Debug Console
ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $Password = ' & $Password & @crlf & '>Error code: ' & @error & @crlf) ;### Debug Console

ConsoleWrite("Function call - OnAutoItStart - the Zeroeth function" & @crlf)
EndFunc

Func Main()
    ConsoleWrite("Function call - Main - the First function" & @crlf)
EndFunc

ConsoleWrite("About to call the Main function" & @crlf)
Main()
ConsoleWrite("Just finished the Main function" & @crlf)

Here's my obfuscated script:

Global Const $SA42B41403060392B=A75C125F4E2D165("30"),$SA4D3452384C15050=A75C125F4E2D165("32"),$SA1A61124F433435D=A75C125F4E2D165("30"),$SA3365D43395D4F39=A75C125F4E2D165("31"),$SA552C615740331346=A75C125F4E2D165("31"),$SA22594C3C35303C58=A75C125F4E2D165("31"),$SA275E47D613046=A75C125F4E2D165("30"),$SA4F40047123E372B=A75C125F4E2D165("31"),$SA1031530402D5030=A75C125F4E2D165("30"),$SA142E412E4D1A5946=A75C125F4E2D165("31"),$SA421BF1254273847=A75C125F4E2D165("31"),$SA61C442814571C15=A75C125F4E2D165("31"),$SA2F2213253B2D494=A75C125F4E2D165("2C"),$SA5E184B335E49D47=A75C125F4E2D165("31"),$SA1736193862D1419=A75C125F4E2D165("2E"),$SA371F254E41611F2D=A75C125F4E2D165("32"),$SA425D26305412560=A75C125F4E2D165("31"),$SA93F324723265323=A75C125F4E2D165("285C642B29285C647B337D29"),$SA40643B33404E12=A75C125F4E2D165("31"),$SA1B633F4F37241CC=A75C125F4E2D165("285C642B29285C647B337D29"),$SA4A2C1E343954D53=A75C125F4E2D165("33"),$SA62D502D5B5A115=A75C125F4E2D165("32"),$SA343446473840F60=A75C125F4E2D165("31"),$SA25394D11362F143C=A75C125F4E2D165("30"),$SAF30D425AC14=A75C125F4E2D165("285C642B29285C647B337D29")
Global Const $SA2F554B2334E265E=A75C125F4E2D165("33"),$SA602576395F5D24=A75C125F4E2D165("31"),$SA5AB396142154D28=A75C125F4E2D165("32"),$SA145552EF41B58=A75C125F4E2D165("31"),$SA2957375BA501262=A75C125F4E2D165("30"),$SA4E24422D3D575461=A75C125F4E2D165("31"),$SA51521A122F1C2BC=A75C125F4E2D165("31"),$SA26426112181E4F29=A75C125F4E2D165("30"),$SA4E173C4563575222=A75C125F4E2D165("31"),$SA063413350114414=A75C125F4E2D165("30"),$SA48464A2C5505D14=A75C125F4E2D165("31"),$SA554B56329252D1C=A75C125F4E2D165("31"),$SA6242274C5F495A6=A75C125F4E2D165("31"),$SA1A2215850234627=A75C125F4E2D165("31"),$SA4D38234A4548D2D=A75C125F4E2D165("30"),$SA112981B34374C41=A75C125F4E2D165("30"),$SA5203D554CF3061=A75C125F4E2D165("31"),$SAD23206356725=A75C125F4E2D165("31"),$SA282E1E5B2414A12=A75C125F4E2D165("31"),$SA2E42E24371421=A75C125F4E2D165("31"),$SA445C2D129B5E45=A75C125F4E2D165("31"),$SA5F2515444A1EC3B=A75C125F4E2D165("31"),$SA1D143E1C36235C2E=A75C125F4E2D165("31"),$SA511B1961175579=A75C125F4E2D165("283F6929"),$SA63295A14101A33F=A75C125F4E2D165("283F7329")
Global Const $SA14D3351C62141=A75C125F4E2D165("282E2A3F29"),$SA342C2E1B364F5059=A75C125F4E2D165("33"),$SA334461426024C1D=A75C125F4E2D165("31"),$SA30383643B3F4E43=A75C125F4E2D165("30"),$SA193E3D5257555E62=A75C125F4E2D165("30"),$SAB5A1F161A475C=A75C125F4E2D165("30"),$SA422C02932562737=A75C125F4E2D165("31"),$SA335A1D24FA539=A75C125F4E2D165("31"),$SA81F392C5E5F303D=A75C125F4E2D165("31"),$SA5E957342A3D2843=A75C125F4E2D165("30"),$SA3D4F141A4F25523=A75C125F4E2D165("31"),$SA2B576141214C1C4D=A75C125F4E2D165("323536"),$SA364D14603E19373B=A75C125F4E2D165("32"),$SA3F413D8632704B=A75C125F4E2D165("31"),$SA19122FA5E53155C=A75C125F4E2D165("30"),$SA3E25A54135D3D21=A75C125F4E2D165("31"),$SA264E564722635C4=A75C125F4E2D165("31"),$SA4A221A294837222F=A75C125F4E2D165("31"),$SA4E5B2D1234565=A75C125F4E2D165("31"),$SA274813A2E1C154D=A75C125F4E2D165("31"),$SA264E5A3B615E38=A75C125F4E2D165("31"),$SA233F1C583B4D181E=A75C125F4E2D165("323535"),$SA3D1DC2F4E4A3C25=A75C125F4E2D165("30"),$SA41535361736502=A75C125F4E2D165("323536"),$SA1C1112315541F=A75C125F4E2D165("32")
Global Const $SA3736663A484C3F=A75C125F4E2D165("30"),$SA4D3E385116A5A31=A75C125F4E2D165("323535"),$SA444C4C4548284A5B=A75C125F4E2D165("31"),$SA4041618604E4D14=A75C125F4E2D165("31"),$SA1E4F5C60415A1D2A=A75C125F4E2D165("31"),$SA50438332A31F=A75C125F4E2D165("30"),$SA1D190F3E2D565D=A75C125F4E2D165("30"),$SA331652242552E24=A75C125F4E2D165("323535"),$SA3B59346265F647=A75C125F4E2D165("30"),$SA304C393974D054=A75C125F4E2D165("31"),$SA114149136365=A75C125F4E2D165("323536"),$SA2B503594E5E14A=A75C125F4E2D165("30"),$SA4D33B3F4F312E45=A75C125F4E2D165("30"),$SA4C5C46E961584B=A75C125F4E2D165("30"),$SA41624421524A1658=A75C125F4E2D165("30"),$SA57381643C26125A=A75C125F4E2D165("31"),$SAB435D18B2A2E21=A75C125F4E2D165("31"),$SA35843E36F522=A75C125F4E2D165("323536"),$SA5E3D132C503BC54=A75C125F4E2D165("30"),$SA35354751962505E=A75C125F4E2D165("323536"),$SA5E5A5749424E5515=A75C125F4E2D165("30"),$SA62382425D52A4E=A75C125F4E2D165("30"),$SA5516434C21384A2A=A75C125F4E2D165("323536"),$SA4D492F311DE1558=A75C125F4E2D165("30"),$SA3484B395665950=A75C125F4E2D165("31")
Global Const $SA55322D33C16244=A75C125F4E2D165("32"),$SA205951135217582D=A75C125F4E2D165("30"),$SA234BF292D9301=A75C125F4E2D165("31"),$SA533935CF5A2344=A75C125F4E2D165("30"),$SA1B2BB1B542E1242=A75C125F4E2D165("323536"),$SA2A5D5702E55441=A75C125F4E2D165("32"),$SA183D30441F60564E=A75C125F4E2D165("30"),$SAC363615403C8D=A75C125F4E2D165("323535"),$SAE5D1E132173752=A75C125F4E2D165("31"),$SA2D4E4C184957011=A75C125F4E2D165("31"),$SA375D213A4A281A2D=A75C125F4E2D165("31"),$SA232F4E33595B53=A75C125F4E2D165("30"),$SA4463A2D5122323B=A75C125F4E2D165("30"),$SA114AF1D41411E33=A75C125F4E2D165("323535"),$SA54275C5F425B1A4F=A75C125F4E2D165("30"),$SA2D5649361751152D=A75C125F4E2D165("31"),$SA34FE106434748=A75C125F4E2D165("323536"),$SA5A1E1312554C5D1A=A75C125F4E2D165("30"),$SA5D2055C5725A19=A75C125F4E2D165("30"),$SA3F5F4C361F451E0=A75C125F4E2D165("30"),$SA3D233C4C20503024=A75C125F4E2D165("30"),$SA273B8494D504F3B=A75C125F4E2D165("31"),$SA213B5F2E331D432B=A75C125F4E2D165("32"),$SA202B371B46245D=A75C125F4E2D165("31"),$SA44291E451B265B7=A75C125F4E2D165("323536")
Global Const $SA5E5318207401357=A75C125F4E2D165("30"),$SA2A2C61630313B37=A75C125F4E2D165("323536"),$SA45474225602C185E=A75C125F4E2D165("30"),$SA1495E571B364F22=A75C125F4E2D165("30"),$SA37594F551A112C39=A75C125F4E2D165("323536"),$SA649F2F264D3A38=A75C125F4E2D165("30"),$SA185563659402A36=A75C125F4E2D165("32"),$SA304A4448525D305E=A75C125F4E2D165("31"),$SA4447351A443E4E1B=A75C125F4E2D165("31"),$SA4C94956513736F=A75C125F4E2D165("31"),$SA234F313381721=A75C125F4E2D165("31"),$SA43171748392C56=A75C125F4E2D165("31"),$SA4E2B1421A43919=A75C125F4E2D165("323535"),$SA42D18465453BF=A75C125F4E2D165("31"),$SA5B3C21F215D2D17=A75C125F4E2D165("32"),$SA3E572A4F272D3725=A75C125F4E2D165("33"),$SA524510333A3F7=A75C125F4E2D165("30"),$SA5146B2E57544948=A75C125F4E2D165("30"),$SAD57445D6113162F=A75C125F4E2D165("30"),$SA296356504181E2A=A75C125F4E2D165("30"),$SAAB1333171C273C=A75C125F4E2D165("31"),$SA5E85B4D52214F7=A75C125F4E2D165("31"),$SAF155F3A3351327=A75C125F4E2D165("31"),$SAB4B4912C6B2=A75C125F4E2D165("31"),$SAB3C636331453A39=A75C125F4E2D165("30")
Global Const $SA4949181A1A632B27=A75C125F4E2D165("31"),$SA1B2A622703666=A75C125F4E2D165("31"),$SA2F2D3601B2135=A75C125F4E2D165("31"),$SA4D0511C63331A32=A75C125F4E2D165("31"),$SA2746E2F602C6310=A75C125F4E2D165("30"),$SA6253233325114911=A75C125F4E2D165("31"),$SA484C5D3959512D13=A75C125F4E2D165("31"),$SA55E29541A403F21=A75C125F4E2D165("31"),$SA9101046A44=A75C125F4E2D165("31"),$SA72755585F215211=A75C125F4E2D165("31"),$SA3E1B2059243A23F=A75C125F4E2D165("31"),$SA522623C5C3C5E46=A75C125F4E2D165("31"),$SA44271A35F2A3C9=A75C125F4E2D165("30"),$SA3A165725293A602C=A75C125F4E2D165("32"),$SA5A51404AF422C4D=A75C125F4E2D165("6162636465666768696A6B6C6D6E6F707172737475767778797A"),$SA4232415D3150613=A75C125F4E2D165("46756E6374696F6E2063616C6C202D204D61696E202D207468652046697273742066756E6374696F6E"),$SA1B46294C1C5B5838=A75C125F4E2D165("4063726C66"),$SA575EB3D1537550=A75C125F4E2D165("41626F757420746F2063616C6C20746865204D61696E2066756E6374696F6E"),$SA2D17C343132958=A75C125F4E2D165("4063726C66"),$SA303D3F2F5C293619=A75C125F4E2D165("4A7573742066696E697368656420746865204D61696E2066756E6374696F6E"),$SA2B83A5B255F434=A75C125F4E2D165("4063726C66")
Func A2D19134B3A613A10($AE2504110482E4C)
Local $A5C152F4E4430, $A102D5051621663, $A395C124417605740, $AB55D2B232F247, $A8003833115B16, $A413B102CE585959, $A2E11111F1B185EC
$A102D5051621663 = StringSplit($AE2504110482E4C, "")
If Mod($A102D5051621663[Number($SA42B41403060392B)], Number($SA4D3452384C15050)) <> Number($SA1A61124F433435D) Then
SetError(Number($SA3365D43395D4F39))
Return -Number($SA552C615740331346)
EndIf
For $A395C124417605740 = Number($SA22594C3C35303C58) To $A102D5051621663[Number($SA275E47D613046)]
$A413B102CE585959 = $A102D5051621663[$A395C124417605740]
$A395C124417605740 = $A395C124417605740 + Number($SA4F40047123E372B)
$A2E11111F1B185EC = $A102D5051621663[$A395C124417605740]
$AB55D2B232F247 = Dec($A413B102CE585959 & $A2E11111F1B185EC)
If @error <> Number($SA1031530402D5030) Then
SetError(Number($SA142E412E4D1A5946))
Return -Number($SA421BF1254273847)
EndIf
$A8003833115B16 = Chr($AB55D2B232F247)
$A5C152F4E4430 = $A5C152F4E4430 & $A8003833115B16
Next
Return $A5C152F4E4430
EndFunc   
Func A4B37E315D5A2838($A1D1DB1334603B2D, $A3161FA62213127 = -1, $AC1823939F3F4A = -1)
If $A3161FA62213127 = -Number($SA61C442814571C15) Or $A3161FA62213127 = Default Then $A3161FA62213127 = $SA2F2213253B2D494
If $AC1823939F3F4A = -Number($SA5E184B335E49D47) Or $AC1823939F3F4A = Default Then $AC1823939F3F4A = $SA1736193862D1419
Local $A34212F3532342D = StringSplit($A1D1DB1334603B2D, $AC1823939F3F4A), $A421E171A365A4551 = '', $A4162223481F81F, $A5F4B5B179424A33 = False
If UBound($A34212F3532342D) > Number($SA371F254E41611F2D) Then
$A4162223481F81F = StringRegExp($A34212F3532342D[Number($SA425D26305412560)], $SA93F324723265323, Number($SA40643B33404E12))
$A5F4B5B179424A33 = True
Else
$A4162223481F81F = StringRegExp($A1D1DB1334603B2D, $SA1B633F4F37241CC, Number($SA4A2C1E343954D53))
EndIf
If UBound($A4162223481F81F) = Number($SA62D502D5B5A115) Then
While IsArray($A4162223481F81F)
$A421E171A365A4551 = $A3161FA62213127 & $A4162223481F81F[Number($SA343446473840F60)] & $A421E171A365A4551
$A4162223481F81F = StringRegExp($A4162223481F81F[Number($SA25394D11362F143C)], $SAF30D425AC14, Number($SA2F554B2334E265E))
WEnd
EndIf
Local $A604090531F03 = StringLen(StringReplace($A421E171A365A4551, $A3161FA62213127, ''))
If $A5F4B5B179424A33 And $A421E171A365A4551 Then
Return StringTrimRight($A34212F3532342D[Number($SA602576395F5D24)], $A604090531F03) & $A421E171A365A4551 & $AC1823939F3F4A & $A34212F3532342D[Number($SA5AB396142154D28)]
ElseIf $A421E171A365A4551 Then
Return StringTrimRight($A1D1DB1334603B2D, $A604090531F03) & $A421E171A365A4551
EndIf
Return SetError(Number($SA145552EF41B58), Number($SA2957375BA501262), $A1D1DB1334603B2D)
EndFunc   
Func A332A7F1B9621($A62584C92220B41, $A2F1842531B3C5D54, $AC1823939F3F4A, $A1E64B5632265B52 = -1, $A37445B479244 = -1)
If $A37445B479244 = -Number($SA4E24422D3D575461) Or $A37445B479244 = Default Then
If $A1E64B5632265B52 = -Number($SA51521A122F1C2BC) Or $A1E64B5632265B52 = Default Then
$A1E64B5632265B52 = Number($SA26426112181E4F29)
Else
$A1E64B5632265B52 = Number($SA4E173C4563575222)
EndIf
Local $A421E171A365A4551 = '', $A13E541D1E1460D = '', $A103EF33171607 = ''
While StringLen($A62584C92220B41) > Number($SA063413350114414)
$A13E541D1E1460D = StringInStr($A62584C92220B41, $A2F1842531B3C5D54, $A1E64B5632265B52)
If Not $A13E541D1E1460D Then ExitLoop
$A62584C92220B41 = StringTrimLeft($A62584C92220B41,($A13E541D1E1460D + StringLen($A2F1842531B3C5D54)) - Number($SA48464A2C5505D14))
$A103EF33171607 = StringInStr($A62584C92220B41, $AC1823939F3F4A, $A1E64B5632265B52)
If Not $A103EF33171607 Then ExitLoop
$A421E171A365A4551 &= StringLeft($A62584C92220B41, $A103EF33171607 - Number($SA554B56329252D1C)) & Chr(Number($SA6242274C5F495A6))
$A62584C92220B41 = StringTrimLeft($A62584C92220B41, $A103EF33171607)
WEnd
If Not $A421E171A365A4551 Then Return SetError(Number($SA1A2215850234627), Number($SA4D38234A4548D2D), Number($SA112981B34374C41))
$A421E171A365A4551 = StringSplit(StringTrimRight($A421E171A365A4551, Number($SA5203D554CF3061)), Chr(Number($SAD23206356725)))
Local $A44326E3F155B41[UBound($A421E171A365A4551) - Number($SA282E1E5B2414A12)]
For $A3C5A5B5E3451533D = Number($SA2E42E24371421) To UBound($A421E171A365A4551) - Number($SA445C2D129B5E45)
$A44326E3F155B41[$A3C5A5B5E3451533D - Number($SA5F2515444A1EC3B)] = $A421E171A365A4551[$A3C5A5B5E3451533D]
Next
Return $A44326E3F155B41
Else
If $A1E64B5632265B52 = Default Or $A1E64B5632265B52 = -Number($SA1D143E1C36235C2E) Then
$A1E64B5632265B52 = $SA511B1961175579
Else
$A1E64B5632265B52 = ''
EndIf
Local $A341CE5B515A513 = StringRegExp($A62584C92220B41, $SA63295A14101A33F & $A1E64B5632265B52 & $A2F1842531B3C5D54 & $SA14D3351C62141 & $AC1823939F3F4A, Number($SA342C2E1B364F5059))
If IsArray($A341CE5B515A513) Then Return $A341CE5B515A513
Return SetError(Number($SA334461426024C1D), Number($SA30383643B3F4E43), Number($SA193E3D5257555E62))
EndIf
EndFunc   
Func A33391854165A1A17($A42959A3463744, $ADB52413220154F, $A52493262B3C25, $A124D4B431D305F49 = 1)
If $A42959A3463744 <> Number($SAB5A1F161A475C) And $A42959A3463744 <> Number($SA422C02932562737) Then
SetError(Number($SA335A1D24FA539))
Return ''
ElseIf $ADB52413220154F = '' Or $A52493262B3C25 = '' Then
SetError(Number($SA81F392C5E5F303D))
Return ''
Else
If Number($A124D4B431D305F49) <= Number($SA5E957342A3D2843) Or Int($A124D4B431D305F49) <> $A124D4B431D305F49 Then $A124D4B431D305F49 = Number($SA3D4F141A4F25523)
Local $A11533B284E47475B
Local $A4BA83128E413F
Local $A353135169615D35
Local $A47503D81861435C
Local $A5D5D36394C172315[Number($SA2B576141214C1C4D)][Number($SA364D14603E19373B)]
Local $A1B3A5754381D5960
Local $A71B5356181C5A
Local $A5C4922D0405F3D
Local $A45B1C4B2138504C
Local $AD29155459C5E4C
Local $A54473515AD3C4C
Local $A5C5E431F50633863
If $A42959A3463744 = Number($SA3F413D8632704B) Then
For $A3B5F31C4A1D39 = Number($SA19122FA5E53155C) To $A124D4B431D305F49 Step Number($SA3E25A54135D3D21)
$A353135169615D35 = ''
$A4BA83128E413F = ''
$A11533B284E47475B = ''
For $A353135169615D35 = Number($SA264E564722635C4) To StringLen($ADB52413220154F)
If $A4BA83128E413F = StringLen($A52493262B3C25) Then
$A4BA83128E413F = Number($SA4A221A294837222F)
Else
$A4BA83128E413F = $A4BA83128E413F + Number($SA4E5B2D1234565)
EndIf
$A11533B284E47475B = $A11533B284E47475B & Chr(BitXOR(Asc(StringMid($ADB52413220154F, $A353135169615D35, Number($SA274813A2E1C154D))), Asc(StringMid($A52493262B3C25, $A4BA83128E413F, Number($SA264E5A3B615E38))), Number($SA233F1C583B4D181E)))
Next
$ADB52413220154F = $A11533B284E47475B
$A1B3A5754381D5960 = ''
$A71B5356181C5A = Number($SA3D1DC2F4E4A3C25)
$A5C4922D0405F3D = ''
$A45B1C4B2138504C = ''
$AD29155459C5E4C = ''
$A5C5E431F50633863 = ''
$A54473515AD3C4C = ''
$A47503D81861435C = ''
$A5D5D36394C172315 = ''
Local $A5D5D36394C172315[Number($SA41535361736502)][Number($SA1C1112315541F)]
For $A1B3A5754381D5960 = Number($SA3736663A484C3F) To Number($SA4D3E385116A5A31)
$A5D5D36394C172315[$A1B3A5754381D5960][Number($SA444C4C4548284A5B)] = Asc(StringMid($A52493262B3C25, Mod($A1B3A5754381D5960, StringLen($A52493262B3C25)) + Number($SA4041618604E4D14), Number($SA1E4F5C60415A1D2A)))
$A5D5D36394C172315[$A1B3A5754381D5960][Number($SA50438332A31F)] = $A1B3A5754381D5960
Next
For $A1B3A5754381D5960 = Number($SA1D190F3E2D565D) To Number($SA331652242552E24)
$A71B5356181C5A = Mod(($A71B5356181C5A + $A5D5D36394C172315[$A1B3A5754381D5960][Number($SA3B59346265F647)] + $A5D5D36394C172315[$A1B3A5754381D5960][Number($SA304C393974D054)]), Number($SA114149136365))
$A47503D81861435C = $A5D5D36394C172315[$A1B3A5754381D5960][Number($SA2B503594E5E14A)]
$A5D5D36394C172315[$A1B3A5754381D5960][Number($SA4D33B3F4F312E45)] = $A5D5D36394C172315[$A71B5356181C5A][Number($SA4C5C46E961584B)]
$A5D5D36394C172315[$A71B5356181C5A][Number($SA41624421524A1658)] = $A47503D81861435C
Next
For $A1B3A5754381D5960 = Number($SA57381643C26125A) To StringLen($ADB52413220154F)
$A5C4922D0405F3D = Mod(($A5C4922D0405F3D + Number($SAB435D18B2A2E21)), Number($SA35843E36F522))
$A45B1C4B2138504C = Mod(($A45B1C4B2138504C + $A5D5D36394C172315[$A5C4922D0405F3D][Number($SA5E3D132C503BC54)]), Number($SA35354751962505E))
$AD29155459C5E4C = $A5D5D36394C172315[Mod(($A5D5D36394C172315[$A5C4922D0405F3D][Number($SA5E5A5749424E5515)] + $A5D5D36394C172315[$A45B1C4B2138504C][Number($SA62382425D52A4E)]), Number($SA5516434C21384A2A)) ][Number($SA4D492F311DE1558)]
$A5C5E431F50633863 = BitXOR(Asc(StringMid($ADB52413220154F, $A1B3A5754381D5960, Number($SA3484B395665950))), $AD29155459C5E4C)
$A54473515AD3C4C = $A54473515AD3C4C & Hex($A5C5E431F50633863, Number($SA55322D33C16244))
Next
$ADB52413220154F = $A54473515AD3C4C
Next
Else
For $A3B5F31C4A1D39 = Number($SA205951135217582D) To $A124D4B431D305F49 Step Number($SA234BF292D9301)
$A71B5356181C5A = Number($SA533935CF5A2344)
$A5C4922D0405F3D = ''
$A45B1C4B2138504C = ''
$AD29155459C5E4C = ''
$A5C5E431F50633863 = ''
$A54473515AD3C4C = ''
$A47503D81861435C = ''
$A5D5D36394C172315 = ''
Local $A5D5D36394C172315[Number($SA1B2BB1B542E1242)][Number($SA2A5D5702E55441)]
For $A1B3A5754381D5960 = Number($SA183D30441F60564E) To Number($SAC363615403C8D)
$A5D5D36394C172315[$A1B3A5754381D5960][Number($SAE5D1E132173752)] = Asc(StringMid($A52493262B3C25, Mod($A1B3A5754381D5960, StringLen($A52493262B3C25)) + Number($SA2D4E4C184957011), Number($SA375D213A4A281A2D)))
$A5D5D36394C172315[$A1B3A5754381D5960][Number($SA232F4E33595B53)] = $A1B3A5754381D5960
Next
For $A1B3A5754381D5960 = Number($SA4463A2D5122323B) To Number($SA114AF1D41411E33)
$A71B5356181C5A = Mod(($A71B5356181C5A + $A5D5D36394C172315[$A1B3A5754381D5960][Number($SA54275C5F425B1A4F)] + $A5D5D36394C172315[$A1B3A5754381D5960][Number($SA2D5649361751152D)]), Number($SA34FE106434748))
$A47503D81861435C = $A5D5D36394C172315[$A1B3A5754381D5960][Number($SA5A1E1312554C5D1A)]
$A5D5D36394C172315[$A1B3A5754381D5960][Number($SA5D2055C5725A19)] = $A5D5D36394C172315[$A71B5356181C5A][Number($SA3F5F4C361F451E0)]
$A5D5D36394C172315[$A71B5356181C5A][Number($SA3D233C4C20503024)] = $A47503D81861435C
Next
For $A1B3A5754381D5960 = Number($SA273B8494D504F3B) To StringLen($ADB52413220154F) Step Number($SA213B5F2E331D432B)
$A5C4922D0405F3D = Mod(($A5C4922D0405F3D + Number($SA202B371B46245D)), Number($SA44291E451B265B7))
$A45B1C4B2138504C = Mod(($A45B1C4B2138504C + $A5D5D36394C172315[$A5C4922D0405F3D][Number($SA5E5318207401357)]), Number($SA2A2C61630313B37))
$AD29155459C5E4C = $A5D5D36394C172315[Mod(($A5D5D36394C172315[$A5C4922D0405F3D][Number($SA45474225602C185E)] + $A5D5D36394C172315[$A45B1C4B2138504C][Number($SA1495E571B364F22)]), Number($SA37594F551A112C39)) ][Number($SA649F2F264D3A38)]
$A5C5E431F50633863 = BitXOR(Dec(StringMid($ADB52413220154F, $A1B3A5754381D5960, Number($SA185563659402A36))), $AD29155459C5E4C)
$A54473515AD3C4C = $A54473515AD3C4C & Chr($A5C5E431F50633863)
Next
$ADB52413220154F = $A54473515AD3C4C
$A353135169615D35 = ''
$A4BA83128E413F = ''
$A11533B284E47475B = ''
For $A353135169615D35 = Number($SA304A4448525D305E) To StringLen($ADB52413220154F)
If $A4BA83128E413F = StringLen($A52493262B3C25) Then
$A4BA83128E413F = Number($SA4447351A443E4E1B)
Else
$A4BA83128E413F = $A4BA83128E413F + Number($SA4C94956513736F)
EndIf
$A11533B284E47475B = $A11533B284E47475B & Chr(BitXOR(Asc(StringMid($ADB52413220154F, $A353135169615D35, Number($SA234F313381721))), Asc(StringMid($A52493262B3C25, $A4BA83128E413F, Number($SA43171748392C56))), Number($SA4E2B1421A43919)))
Next
$ADB52413220154F = $A11533B284E47475B
Next
EndIf
Return $ADB52413220154F
EndIf
EndFunc   
Func A4404145D241D63($A4B364361B44E5A, $A225B38262E2B1D2D, $A2C545F2D1B7C12)
Local $A4F185257401E45F, $A5025522057313338, $A94F5F174F4018
If $A4B364361B44E5A = "" Or(Not IsString($A4B364361B44E5A)) Then
SetError(Number($SA42D18465453BF)) 
Return $A4B364361B44E5A
ElseIf $A225B38262E2B1D2D = "" Or(Not IsString($A4B364361B44E5A)) Then
SetError(Number($SA5B3C21F215D2D17)) 
Return $A4B364361B44E5A
Else
$A4F185257401E45F = StringLen($A4B364361B44E5A) 
If(Abs($A2C545F2D1B7C12) > $A4F185257401E45F) Or(Not IsInt($A2C545F2D1B7C12)) Then
SetError(Number($SA3E572A4F272D3725)) 
Return $A4B364361B44E5A
EndIf
EndIf
If $A2C545F2D1B7C12 = Number($SA524510333A3F7) Then
Return $A225B38262E2B1D2D & $A4B364361B44E5A 
ElseIf $A2C545F2D1B7C12 > Number($SA5146B2E57544948) Then
$A5025522057313338 = StringLeft($A4B364361B44E5A, $A2C545F2D1B7C12) 
$A94F5F174F4018 = StringRight($A4B364361B44E5A, $A4F185257401E45F - $A2C545F2D1B7C12) 
Return $A5025522057313338 & $A225B38262E2B1D2D & $A94F5F174F4018 
ElseIf $A2C545F2D1B7C12 < Number($SAD57445D6113162F) Then
$A5025522057313338 = StringLeft($A4B364361B44E5A, Abs($A4F185257401E45F + $A2C545F2D1B7C12)) 
$A94F5F174F4018 = StringRight($A4B364361B44E5A, Abs($A2C545F2D1B7C12)) 
Return $A5025522057313338 & $A225B38262E2B1D2D & $A94F5F174F4018 
EndIf
EndFunc   
Func A595492E452230($A584E27D42F1A39)
Local $A5A34155622445D48 = Number($SA296356504181E2A)
Local $A56162A346317383D = Number($SAAB1333171C273C)
Local $A23C15633905FB = ""
Local $A58F1745B48351A
For $A5A34155622445D48 = Number($SA5E85B4D52214F7) To StringLen($A584E27D42F1A39)
$A58F1745B48351A = StringMid($A584E27D42F1A39, $A5A34155622445D48, Number($SAF155F3A3351327))
Select
Case $A56162A346317383D = Number($SAB4B4912C6B2)
If A2C1F5A261B3C5848($A58F1745B48351A) Then
$A58F1745B48351A = StringUpper($A58F1745B48351A)
$A56162A346317383D = Number($SAB3C636331453A39)
EndIf
Case Not A2C1F5A261B3C5848($A58F1745B48351A)
$A56162A346317383D = Number($SA4949181A1A632B27)
Case Else
$A58F1745B48351A = StringLower($A58F1745B48351A)
EndSelect
$A23C15633905FB = $A23C15633905FB & $A58F1745B48351A
Next
Return($A23C15633905FB)
EndFunc   
Func A414294415404046($A62584C92220B41, $A62184A20B323A32)
Local $A20862365D403F2D
Select
Case Not StringIsInt($A62184A20B323A32)
SetError(Number($SA1B2A622703666))
Return ""
Case StringLen($A62584C92220B41) < Number($SA2F2D3601B2135)
SetError(Number($SA4D0511C63331A32))
Return ""
Case $A62184A20B323A32 <= Number($SA2746E2F602C6310)
SetError(Number($SA6253233325114911))
Return ""
Case Else
For $A2C35494D37625C3C = Number($SA484C5D3959512D13) To $A62184A20B323A32
$A20862365D403F2D = $A20862365D403F2D & $A62584C92220B41
Next
Return $A20862365D403F2D
EndSelect
EndFunc   
Func A234423463D1D6346($A62584C92220B41)
Local $A3A3A5121A52409
Local $A2C35494D37625C3C
If StringLen($A62584C92220B41) >= Number($SA55E29541A403F21) Then
For $A2C35494D37625C3C = Number($SA9101046A44) To StringLen($A62584C92220B41)
$A3A3A5121A52409 = StringMid($A62584C92220B41, $A2C35494D37625C3C, Number($SA72755585F215211)) & $A3A3A5121A52409
Next
Return $A3A3A5121A52409
Else
SetError(Number($SA3E1B2059243A23F))
Return ""
EndIf
EndFunc   
Func AB6324A30161041($A5C152F4E4430)
Local $A5524421139183335, $A395C124417605740, $AB55D2B232F247, $A15B364D1A2C3043, $AE2504110482E4C
$A5524421139183335 = StringSplit($A5C152F4E4430, "")
For $A395C124417605740 = Number($SA522623C5C3C5E46) To $A5524421139183335[Number($SA44271A35F2A3C9)]
$AB55D2B232F247 = Asc($A5524421139183335[$A395C124417605740])
$A15B364D1A2C3043 = Hex($AB55D2B232F247, Number($SA3A165725293A602C))
$AE2504110482E4C = $AE2504110482E4C & $A15B364D1A2C3043
Next
Return $AE2504110482E4C
EndFunc   
Func A2C1F5A261B3C5848($A584E27D42F1A39)
Local $A2C32541B42203C60 = $SA5A51404AF422C4D
Return(StringInStr($A2C32541B42203C60, $A584E27D42F1A39))
EndFunc   
Func OnAutoItStart()
Global Const $SA1727579D611211=A75C125F4E2D165("30"),$SA50255C282622C1D=A75C125F4E2D165("3639443246303442343944313235393431343244324236363839443044453434"),$SA2313232C5D5F505D=A75C125F4E2D165("50415353504852415345"),$SA63C44452B81C12=A75C125F4E2D165("31"),$SA5F46395A566213=A75C125F4E2D165("30"),$SA42435A1A49591714=A75C125F4E2D165("363844354633334334394439323445453134324132423130"),$SA362C422E171A3B2E=A75C125F4E2D165("50415353504852415345"),$SA154E2F604E442A50=A75C125F4E2D165("31"),$SA3D29551739164643=A75C125F4E2D165("30"),$SAE16493A4E38488=A75C125F4E2D165("3639413846333439344544373235393731353546324231333838444644453435"),$SA506320424E6318C=A75C125F4E2D165("50415353504852415345"),$SA542954C13F3E42=A75C125F4E2D165("31"),$SA5E1F3C29D3FC27=A75C125F4E2D165("404020446562756728"),$SA115941172433441D=A75C125F4E2D165("405363726970744C696E654E756D626572"),$SA611CE3F4B37601D=A75C125F4E2D165("29203A202455736572203D20"),$SA18451C5F421A2F53=A75C125F4E2D165("4063726C66"),$SA4A331613F1A4F2=A75C125F4E2D165("3E4572726F7220636F64653A20"),$SAF543B285950480=A75C125F4E2D165("4063726C66"),$SAC594723C411758=A75C125F4E2D165("404020446562756728"),$SA2F4E1B8394B4D27=A75C125F4E2D165("405363726970744C696E654E756D626572"),$SA522519614B16855=A75C125F4E2D165("29203A2024446F6D61696E203D20"),$SA144119612D3A3143=A75C125F4E2D165("4063726C66"),$SA5D60434A5352463=A75C125F4E2D165("3E4572726F7220636F64653A20"),$SA21F4D7E44D32=A75C125F4E2D165("4063726C66"),$SA2E54C3B1D491BE=A75C125F4E2D165("404020446562756728")
Global Const $SA183A5D4F55326334=A75C125F4E2D165("405363726970744C696E654E756D626572"),$SA293616B4E3994B=A75C125F4E2D165("29203A202450617373776F7264203D20"),$SA545E4C3431184E3E=A75C125F4E2D165("4063726C66"),$SA62E5A42046593B=A75C125F4E2D165("3E4572726F7220636F64653A20"),$SA40111D243F36144F=A75C125F4E2D165("4063726C66"),$SA454A3F572825145=A75C125F4E2D165("46756E6374696F6E2063616C6C202D204F6E4175746F49745374617274202D20746865205A65726F6574682066756E6374696F6E"),$SAA634B151B183C=A75C125F4E2D165("4063726C66")
Local $A603B545523514447 = A33391854165A1A17(Number($SA1727579D611211), $SA50255C282622C1D,$SA2313232C5D5F505D, $SA63C44452B81C12)
Local $A5A261C635D495454 = A33391854165A1A17(Number($SA5F46395A566213), $SA42435A1A49591714,$SA362C422E171A3B2E, $SA154E2F604E442A50)
Local $A55BA13215B370 = A33391854165A1A17(Number($SA3D29551739164643), $SAE16493A4E38488, $SA506320424E6318C,$SA542954C13F3E42)
ConsoleWrite($SA5E1F3C29D3FC27 & Execute($SA115941172433441D) & $SA611CE3F4B37601D & $A603B545523514447 & Execute($SA18451C5F421A2F53) & $SA4A331613F1A4F2 & @error & Execute($SAF543B285950480)) 
ConsoleWrite($SAC594723C411758 & Execute($SA2F4E1B8394B4D27) & $SA522519614B16855 & $A5A261C635D495454 & Execute($SA144119612D3A3143) & $SA5D60434A5352463 & @error & Execute($SA21F4D7E44D32)) 
ConsoleWrite($SA2E54C3B1D491BE & Execute($SA183A5D4F55326334) & $SA293616B4E3994B & $A55BA13215B370 & Execute($SA545E4C3431184E3E) & $SA62E5A42046593B & @error & Execute($SA40111D243F36144F)) 
ConsoleWrite($SA454A3F572825145 & Execute($SAA634B151B183C))
EndFunc
Func A441D414A632826()
ConsoleWrite($SA4232415D3150613 & Execute($SA1B46294C1C5B5838))
EndFunc
ConsoleWrite($SA575EB3D1537550 & Execute($SA2D17C343132958))
A441D414A632826()
ConsoleWrite($SA303D3F2F5C293619 & Execute($SA2B83A5B255F434))

Func A2C4558BC5541($A2C4558BC5544)
Local $A2C4558BC55442
For $x = 1 to StringLen($A2C4558BC5544) step 2
$A2C4558BC55442 &= Chr(Dec(StringMid($A2C4558BC5544,$x,2)))
Next
Return $A2C4558BC55442
EndFunc
Func A75C125F4E2D165($A75C125F4E2D165)
Local $A75C125F4E2D1652
For $x = 1 to StringLen($A75C125F4E2D165) step 2
$A75C125F4E2D1652 &= Chr(Dec(StringMid($A75C125F4E2D165,$x,2)))
Next
Return $A75C125F4E2D1652
EndFunc
Func A2C4558BC5542($A2C4558BC5544)
Local $A2C4558BC55442
For $x = 1 to StringLen($A2C4558BC5544) step 2
$A2C4558BC55442 &= Chr(Dec(StringMid($A2C4558BC5544,$x,2)))
Next
Return $A2C4558BC55442
EndFunc

Any thoughts? Could it be due to:

Func A75C125F4E2D165($A75C125F4E2D165)

?

Perhaps a better question is, can anyone replicate this problem? Maybe it's just something stupid going on with my computer... ?

Link to comment
Share on other sites

Weird. I get new error now with a global const seemingly not being declared.

I get different output then you, and I don't get an error

Here's what I used to test.

#include <string.au3>

#Compiler_Run_Obfuscator=y
#Obfuscator_Parameters= /Beta

Func OnAutoItStart()
;~ Local $tUser = _StringEncrypt(1, "Username", "PASSPHRASE", "1")
;~ Local $tDomain = _StringEncrypt(1, "Domain", "PASSPHRASE", "1")
;~ Local $tPassword = _StringEncrypt(1, "Password", "PASSPHRASE", "1")
Local $User = _StringEncrypt(0, "69D2F04B49D12594142D2B6689D0DE44","PASSPHRASE", "1")
Local $Domain = _StringEncrypt(0, "68D5F33C49D924EE142A2B10","PASSPHRASE", "1")
Local $Password = _StringEncrypt(0, "69A8F3494ED72597155F2B1388DFDE45", "PASSPHRASE","1")

ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $User = ' & $User & @crlf & '>Error code: ' & @error & @crlf) ;### Debug Console
ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $Domain = ' & $Domain & @crlf & '>Error code: ' & @error & @crlf) ;### Debug Console
ConsoleWrite('@@ Debug(' & @ScriptLineNumber & ') : $Password = ' & $Password & @crlf & '>Error code: ' & @error & @crlf) ;### Debug Console

ConsoleWrite("Function call - OnAutoItStart - the Zeroeth function" & @crlf)
EndFunc

Func Main()
    ConsoleWrite("Function call - Main - the First function" & @crlf)
EndFunc

ConsoleWrite("About to call the Main function" & @crlf)
Main()
ConsoleWrite("Just finished the Main function" & @crlf)

Here's my console output from the obfuscated script (not posting that script like you did, to lengthy)

>Running:(3.2.3.6):C:\Program Files\AutoIt3\beta\autoit3.exe "F:\Autoit_files\test_Obfuscated.au3"

@@ Debug(291) : $User = Username

>Error code: 0

@@ Debug(292) : $Domain = Domain

>Error code: 0

@@ Debug(293) : $Password = Password

>Error code: 0

Function call - OnAutoItStart - the Zeroeth function

About to call the Main function

Function call - Main - the First function

Just finished the Main function

+>20:33:41 AutoIT3.exe ended.rc:0

Edited by gafrost

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Link to comment
Share on other sites

Aha then! I've done something wrong. When I copy-paste your script and try to run it, I'm getting an Invalid Compiler directive window.

Keyword:#Compiler_Run_Obfuscator

Value:y

Sooo... what have I done wrong? Is there an Autoit Beta I've missed? Or (more likely I think) have I just insalled Obfiscator.exe incorrectly? The latest one sent by JdeB I just unzipped and copied over the old version.

Link to comment
Share on other sites

Aha then! I've done something wrong. When I copy-paste your script and try to run it, I'm getting an Invalid Compiler directive window.

Keyword:#Compiler_Run_Obfuscator

Value:y

Sooo... what have I done wrong? Is there an Autoit Beta I've missed? Or (more likely I think) have I just insalled Obfiscator.exe incorrectly? The latest one sent by JdeB I just unzipped and copied over the old version.

Just download and install the latest SciTE for Autoit

SciTE for AutoItDirections for Submitting Standard UDFs

 

Don't argue with an idiot; people watching may not be able to tell the difference.

 

Link to comment
Share on other sites

gah!

What on earth am I doing wrong? I've now completely reinstalled the latest AutoIt (3.2.2.0) and the latest Scite4AutoIt (1.73)

and not the obfuscation isn't changing the name of the _StringEncrypt function, and my obfuscated script errors out with unknown function.

>Running:(3.2.2.0):C:\Program Files\AutoIt3\autoit3.exe "Test_Obfuscated.au3"   
Test_Obfuscated.au3 (5) : ==> Unknown function name.: 
Local $A54451322344F39 = _StringEncrypt(Number($SA1663A4B5F46B35), $SA1A585C2116353D30,$SAE125F54302955C, $SA4FB32234BA204F) 
Local $A54451322344F39 = ^ ERROR
+>14:23:40 AutoIT3.exe ended.rc:0
+>14:23:41 AutoIt3Wrapper Finished
>Exit code: 0   Time: 15.573

This is a total brain fart. There's something so bleedingly obvious with my setup that I'm not seeing it as wrong... *oneofthosedays* Anyone?

Edit: Now I've installed Autoit 3.2.3.6 beta... and back to the Undeclared variable problem. And I'm still using gafrost's script.

Edited by nikink
Link to comment
Share on other sites

  • Developers

gah!

What on earth am I doing wrong? I've now completely reinstalled the latest AutoIt (3.2.2.0) and the latest Scite4AutoIt (1.73)

and not the obfuscation isn't changing the name of the _StringEncrypt function, and my obfuscated script errors out with unknown function.

>Running:(3.2.2.0):C:\Program Files\AutoIt3\autoit3.exe "Test_Obfuscated.au3"   
Test_Obfuscated.au3 (5) : ==> Unknown function name.: 
Local $A54451322344F39 = _StringEncrypt(Number($SA1663A4B5F46B35), $SA1A585C2116353D30,$SAE125F54302955C, $SA4FB32234BA204F) 
Local $A54451322344F39 = ^ ERROR
+>14:23:40 AutoIT3.exe ended.rc:0
+>14:23:41 AutoIt3Wrapper Finished
>Exit code: 0   Time: 15.573

This is a total brain fart. There's something so bleedingly obvious with my setup that I'm not seeing it as wrong... *oneofthosedays* Anyone?

Edit: Now I've installed Autoit 3.2.3.6 beta... and back to the Undeclared variable problem. And I'm still using gafrost's script.

I think this error comes from Obfuscator not finding the Include "string.au3" .. check the Obfuscator.log or post it so we can look at it.

I also understand where the variable error is coming from. The issue is that all strings are translated to a Global Const Variable and put at the top of the script.

Since OnAutoItStart() is executed first and this Function is performing _StrinEncrypt(), all Variables needed in _StringEncrypt() are not initialized yet.

Let me have a look at this ...

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

@JdbE

May I request that you add a Paypal donation link in this thread? You deserve donations to keep you going on this. :shocked: It is much apreciated!

encodeIt was awsome... and I was sad to see it go. :( I'm glad your project came to life.

A donation link would be a great way for us to show our appreciation.

Link to comment
Share on other sites

  • Developers

I think this error comes from Obfuscator not finding the Include "string.au3" .. check the Obfuscator.log or post it so we can look at it.

I also understand where the variable error is coming from. The issue is that all strings are translated to a Global Const Variable and put at the top of the script.

Since OnAutoItStart() is executed first and this Function is performing _StrinEncrypt(), all Variables needed in _StringEncrypt() are not initialized yet.

Let me have a look at this ...

Made a major change to Obfuscator. The generated variables for Strings/Values/HexValues are now placed at the top of each Func as Global Const to allow OnAutoItStart() to used any of these UDFs without getting in these type of errors.

Please test this version of Obfuscator v1.0.2 to see I made any script breaking changes

v1.0.2.0:

  • Major change in approach for the created string variables to allow OnAutoIt3Start.
  • Fixed Problem with "Enum Step *" which doesn't allow Number("") but requires a real value.
  • Added obfuscation for HexValues.

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

  • Developers

Uploaded test this version of Obfuscator v 1.0.3 :

  • v1.0.3.0: Fixed problem with objevent() that needs param 2 Translated to a FuncName.

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

Werkt goed voor mij.

Heb deze;

command.46.*.au3="$(SciteDefaultHome)\Obfuscator\Obfuscator.exe" "$(FilePath)"

command.name.46.*.au3=Obfuscator

command.save.before.46.*.au3=1

command.is.filter.46.*.au3=1

command.shortcut.46.*.au3=Ctrl+Shift+O

wel toegepast in de au3.properties file en dat werkt ook uitstekend.

Works fine for me.

Have this;

command.46.*.au3="$(SciteDefaultHome)\Obfuscator\Obfuscator.exe" "$(FilePath)"

command.name.46.*.au3=Obfuscator

command.save.before.46.*.au3=1

command.is.filter.46.*.au3=1

command.shortcut.46.*.au3=Ctrl+Shift+O

changed in to the au3.properties file and that works fine.

Sapiente vince, rex, noli vincere ferro!

Link to comment
Share on other sites

  • Developers

Werkt goed voor mij.

Heb deze;

wel toegepast in de au3.properties file en dat werkt ook uitstekend.

Works fine for me.

Have this;

changed in to the au3.properties file and that works fine.

Not sure I understand the point you make, but remember all changes you make to au3.properties will be gone with the next update....

:shocked:

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

  • Developers

Updated Obuscator

v1.0.4:

  • Added Func stripping and Parameters for ObfuscateFuncs and ObfuscateVars.
  • Moved all Functions that use a FuncName as String parameter into Obfuscator.INI included in the Obfuscator.Zip file.
  • Avoid translation @extended which caused scripts to break.

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

Guest
This topic is now closed to further replies.
 Share

  • Recently Browsing   0 members

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