bcording 0 Posted April 5, 2004 Is the password option currently being used in Aut2Exe even though there is currently no Exe2Aut program? And if the password option is active will a script compiled using the password option be secure when/if Exe2Aut is released? Share this post Link to post Share on other sites
ezzetabi 3 Posted April 5, 2004 Exe2Aut wont be relased, so do not bother. If you wanna decompile you have to fileinstall your source in the file. Like If $CmdLine[0] = 2 Then If $CmdLine[1] = "decompile" AND $CmdLine[2] = "mypassword" Then FileInstall ("ScriptFullPath",@ScriptDir) ;ScriptFullPath must be a literal string EndIf EndIf Share this post Link to post Share on other sites
scriptkitty 1 Posted April 5, 2004 (edited) If $CmdLine[0]= 2 Then If $CmdLine[1] = "decompile" AND $CmdLine[2] = "mypassword" Then FileInstall ("ScriptFullPath",@ScriptDir) ;ScriptFullPath must be a literal string EndIf EndIfto clarify, his code will place the script into the compiled exe this way, and you can undo it with the password you place in the file. ScriptFullPath means Path and filename. Ex: If $CmdLine[0] = 2 Then If $CmdLine[1] = "decompile" AND $CmdLine[2] = "mypassword" Then FileInstall ("c:\Au3scritps\myscript.au3",@ScriptDir & "\tempout.au3") EndIf EndIf This is an easy way to have your code put inside. It is compressed with all your comments as well, and is perhapse a better way to do it. (AutoIT2Exe strips out comments atm.) Edited April 5, 2004 by scriptkitty AutoIt3, the MACGYVER Pocket Knife for computers. Share this post Link to post Share on other sites
Jon 1,009 Posted April 5, 2004 Is the password option currently being used in Aut2Exe even though there is currently no Exe2Aut program? And if the password option is active will a script compiled using the password option be secure when/if Exe2Aut is released?Yes, the password is used. Deployment Blog: https://www.autoitconsulting.com/site/blog/ SCCM SDK Programming: https://www.autoitconsulting.com/site/sccm-sdk/ Share this post Link to post Share on other sites
bcording 0 Posted April 5, 2004 Thanks Jon, that's what i was lokking for. Share this post Link to post Share on other sites