BinaryBrother Posted July 1, 2009 Share Posted July 1, 2009 With a little bit of research, I've found proof that au2 could compile code in AutoIt-less environments, or better yet... One could build an AutoIt program, that was capable of generating other AutoIt programs, such as compiling on the run, or once in the users environment. I'm also aware that the entire AutoIt payload may be required to make this possible, which is completely acceptable. I have done some experiments with Eval(FileRead()), but really can't apply that as a liable solution. I know I've seen this talked about, but couldn't come up search term that found the correct posts. SIGNATURE_0X800007D NOT FOUND Link to comment Share on other sites More sharing options...
BinaryBrother Posted July 1, 2009 Author Share Posted July 1, 2009 Update + Bump:I actually hadn't figured it out, until I went to bump with some info about what I had found out so far... and I was thinking all this time, that everyone saying Aut2Exe was actually saying Au2Exe. Which made me think everyone was talking about AutoIt v2(au2) lol...Answer: You must pack the AutoIt Compiler (Aut2Exe.exe) with your script. (C:\ProgramFiles\AutoIt\Aut2Exe\Aut2exe.exe)A command line example would be like so;Aut2Exe.exe /in C:\CODE.au3 /out C:\COMPILED.exe /icon C:\OPTIONAL-ICON.icocompile remotely, compile on other machine, compile in user environment, compile later, compile aut2exe, compile au3 SIGNATURE_0X800007D NOT FOUND Link to comment Share on other sites More sharing options...
dexto Posted July 2, 2009 Share Posted July 2, 2009 Nice... will remember that one thx. Link to comment Share on other sites More sharing options...
BinaryBrother Posted July 2, 2009 Author Share Posted July 2, 2009 I was working on an AiO generator, and the ability to allow the users who use my scripts, to compile there own AiO was something that could be real handy... SIGNATURE_0X800007D NOT FOUND Link to comment Share on other sites More sharing options...
dexto Posted July 2, 2009 Share Posted July 2, 2009 interesting idea... I might use something of the sort in my LAN administration app. Link to comment Share on other sites More sharing options...
BinaryBrother Posted July 2, 2009 Author Share Posted July 2, 2009 Keep a close eye on the "Example" section... I'll be posting a pretty dandy script soon... Functions: AiO Generator PrintUnlocker (Whips a hung spooler back into shape... ) ProcessMassacre (Kill unneeded processes) --All but required to be exact... SethC Injection (Will probably remain undocumented) --Gotta read the code to know what this one will do... UAC Check (Only useful to me.. Maybe a few others...) I Hope it turns out as planned. SIGNATURE_0X800007D NOT FOUND Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now