Sign in to follow this  
Followers 0
cyanidemonkey

Help to get script from exe

11 posts in this topic

Hi, I have a app I am working on.

I usally just right click and selecet compile script, but I wanted to add a custom icon, so I used Aut2Exe.

When I ran Aut2Exe it had an error, a pop up came up with a lot of gibberlish, it then closed and my .au3 file disapeared from my HD.

I am using 3.3.6.1, the FAQ's say I can not decompile (I have another version of my script exe in another folder), but I do not understand the example code of how I can retrieve my script. see here: http://www.autoitscript.com/wiki/FAQ#How_can_I_decompile_my_AutoIt_EXEs.3F

Is there anyway I can retrieve my source code, or am I boned?

ta.


My AutoIt Scripts.- AutoHost and Password Enabler for Delta Force 2 Demo.| Caffine for Winamp 2.9x and WRS 2.0 | mp3 directory cleaner | CRAP DJ | A:B:J Radio Automation Software | FFMPEG batch conversion automator

Share this post


Link to post
Share on other sites



That snippet of code is for including your source code with your complied script and giving an option of extracting a copy of the source code from the compiled script via commandline parameters.

Share this post


Link to post
Share on other sites

That snippet of code is for including your source code with your complied script and giving an option of extracting a copy of the source code from the compiled script via commandline parameters.

which is only applicable at design time of course. search the forum for similar situations and you will find the best course of action

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

Posted Image

I will not say too much on this topic. This has been discussed time after time.

There will be no support of this here, and this forum has strict rules against

discussing the decompilation of AutoIt executables and the tool(s) required

to do such a thing. Discussion of this is at your own risk.


AutoIt Stuff:

 

UDFs: {Grow}

Share this post


Link to post
Share on other sites

exactly the reason that my answer may have seemed less than helpful, but i promise the best course of action is to search the forums (and i don't mean post a new topic in each) and hope that a developer notices your plight AND you can convince them that you are in fact the original author of the source of the executable. Also, i'll say officially that some of the programs that came out the best did so after having to do a full rewrite because of similar situations. it can seem a daunting task at first, but often times you've made progress in your understanding of the language, or in the case of autoit, the language has progressed with you and is more powerful now. That typically makes recreating programs go a lot more quickly than you'd think.


1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

exactly the reason that my answer may have seemed less than helpful, but i promise the best course of action is to search the forums (and i don't mean post a new topic in each) and hope that a developer notices your plight AND you can convince them that you are in fact the original author of the source of the executable. Also, i'll say officially that some of the programs that came out the best did so after having to do a full rewrite because of similar situations. it can seem a daunting task at first, but often times you've made progress in your understanding of the language, or in the case of autoit, the language has progressed with you and is more powerful now. That typically makes recreating programs go a lot more quickly than you'd think.

Very much agreed. It's almost always better ( and easier ) the second time around, since you know pretty much exactly what you're doing. I remember several programs which I had to rewrite after a hard drive crash.

Needless to say, I ALWAYS make a cross-drive copy of my entire source code folder every night. That way if something does happen, I have something to fall back on!

Nevertheless, good luck with this issue. I hope that if this said program is yours, you get the attention and support you require.


AutoIt Stuff:

 

UDFs: {Grow}

Share this post


Link to post
Share on other sites

If you ran Tidy.exe on it, and you have the backup options selected, there will be a back up of the file from the last time you ran tidy on it. If you didn't choose to save back up copies, then an undelete program would be your best bet. Do NOT save anything to the drive if you can possibly help it or you risk overwriting the area where your file was, and you've got a very low chance of getting it back if that happens.


If I posted any code, assume that code was written using the latest release version unless stated otherwise. Also, if it doesn't work on XP I can't help with that because I don't have access to XP, and I'm not going to.
Give a programmer the correct code and he can do his work for a day. Teach a programmer to debug and he can do his work for a lifetime - by Chirag Gude
How to ask questions the smart way!

I hereby grant any person the right to use any code I post, that I am the original author of, on the autoitscript.com forums, unless I've specifically stated otherwise in the code or the thread post. If you do use my code all I ask, as a courtesy, is to make note of where you got it from.

Back up and restore Windows user files _Array.au3 - Modified array functions that include support for 2D arrays.  -  ColorChooser - An add-on for SciTE that pops up a color dialog so you can select and paste a color code into a script.  -  Customizable Splashscreen GUI w/Progress Bar - Create a custom "splash screen" GUI with a progress bar and custom label.  -  _FileGetProperty - Retrieve the properties of a file  -  SciTE Toolbar - A toolbar demo for use with the SciTE editor  -  GUIRegisterMsg demo - Demo script to show how to use the Windows messages to interact with controls and your GUI.  -   Latin Square password generator

Share this post


Link to post
Share on other sites

The file can be retrieved by various un-deleters. Theres plenty of them around.

depending on when it was deleted and how thoroughly the sectors have been overwritten

1100111 00001011101111 00011101101111 00010111100100 00001111110100 00110111110010 00101101111001 0011100i didn't make up this form of encryption, but i like it.credit to the lvl 6 challenge on arcanum.co.nz

Share this post


Link to post
Share on other sites

Hi guys, I found a copy of the source in a back up so only olost a little work, but most the code is there.

I will be sure to copy the source before using Aut2Exe just in case next time.

Sorry if this topic is breaching any forum rules, mods please delete this topic.


My AutoIt Scripts.- AutoHost and Password Enabler for Delta Force 2 Demo.| Caffine for Winamp 2.9x and WRS 2.0 | mp3 directory cleaner | CRAP DJ | A:B:J Radio Automation Software | FFMPEG batch conversion automator

Share this post


Link to post
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
Sign in to follow this  
Followers 0