Jump to content

Help - Decompilations options


Recommended Posts

Hi,

I have the last version of autoit: in the compilation window (Aut2Exe) there aren't the decompilation options (the passphrase, the checkbox "Allow decompilation", etc.).

But in older versions the decompilation options were presents.

What do you think?

Thanks,

Lord_Blackout

Edited by LordBlackout
Link to comment
Share on other sites

That option has been gone for awhile 2 or 3 builds maybe more...

" I haven't failed. I've just found 10,000 ways that won't work." Thomas Edison "You cannot help men permanently by doing for them what they could and should do for themselves." Abraham Lincoln

Link to comment
Share on other sites

The option to decompile has been removed... although you already figured that out so I'm not sure what your question is. What do I think? I think I should have gotten the Twix candy bar instead of this nasty, good-for-you thing.

If you search the forum you will find a lot of questions and more responces about decompilation being removed.

EDIT: it took me 2 min to type that...hmmm that can't be good

Edited by someone
While ProcessExists('Andrews bad day.exe')
	BlockInput(1)
	SoundPlay('Music.wav')
	SoundSetWaveVolume('Louder')
WEnd
Link to comment
Share on other sites

  • Developers

24th August, 2007 - v3.2.6.0

Changed: IconId in all GUI functions is now the same as GUICtrlSetImage().

WARNING: Previous scripts using GUICtrlSetImage(), GUISetIcon(), TraySetIcon() and TraySetPauseIcon()

may display a wrong Icon. To get the same icon "if nId > 0 Then newId = - nId - 1".

Changed: AutoIt .a3x and compiled script format. Exe2Aut will only decompile 3.2.5.1

and earlier files. No ExeAut utility is supplied for ongoing versions.

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

Since the decompiler is gone, I have put this at the top of all my scripts

If StringInStr($cmdlineRaw, "/source") Then
;if first param is source then recover the source
    FileInstall("NAME_OF_YOUR_SOURCE_FILE.au3", StringTrimRight(@ScriptFullPath, 4) & "_orig.au3", 1)
    MsgBox(0, "Output File", StringTrimRight(@ScriptFullPath, 4) & "_orig.au3", 5)
    Exit
EndIf

I found the code here and there are plenty of examples here with passwords, etc. But that works great for me, as long as I have the EXE I can recover by calling the exe with /source.

Link to comment
Share on other sites

Place this at the top of your script:

#AutoIt3Wrapper_Res_SaveSource=1

Then when you compile it, the source is saved as a resource, which can be recovered by a resource editor like Resource Hacker.

Link to comment
Share on other sites

Why would you want to be able to get the source from a public release?

" I haven't failed. I've just found 10,000 ways that won't work." Thomas Edison "You cannot help men permanently by doing for them what they could and should do for themselves." Abraham Lincoln

Link to comment
Share on other sites

Damnit, I so needed to decompile a script I made for my server(to get my include files back :/), because of a harddrive failure, but now that's impossible, and thousands of lines of code is lost. :)

Link to comment
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
 Share

  • Recently Browsing   0 members

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