AutoHotkey Homepage AutoHotkey Community
Let's help each other out
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How can i convert my autohotkey.exe file back to .ahk file?

 
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help
View previous topic :: View next topic  
Author Message
windboy



Joined: 13 Feb 2008
Posts: 31

PostPosted: Fri Feb 15, 2008 4:20 am    Post subject: How can i convert my autohotkey.exe file back to .ahk file? Reply with quote

Hi there i was wondering how to get my .exe file back to a .ahk file. I lost the script but only have the .exe program is there anyway to decode my .exe file back? Thank you
Back to top
View user's profile Send private message
SKAN



Joined: 26 Dec 2005
Posts: 6264

PostPosted: Fri Feb 15, 2008 4:46 am    Post subject: Reply with quote

Download : http://www.autohotkey.com/download/Exe2Ahk.exe

From command prompt:

Exe2Ahk Script.ahk

Smile
Back to top
View user's profile Send private message
windboy



Joined: 13 Feb 2008
Posts: 31

PostPosted: Fri Feb 15, 2008 5:59 am    Post subject: Reply with quote

thank you. but i have forgotten the password and i cant retrieve the coding Sad please help me out.
Back to top
View user's profile Send private message
SKAN



Joined: 26 Dec 2005
Posts: 6264

PostPosted: Fri Feb 15, 2008 6:15 am    Post subject: Reply with quote

Uh Oh! I do not know a way. Maybe Titan could help you, so you may try sending him a PM ( Personal Message ).
But I doubt you will be helped unless you can convince that it is your own script.

Smile
Back to top
View user's profile Send private message
tic



Joined: 22 Apr 2007
Posts: 1375

PostPosted: Fri Feb 15, 2008 8:08 am    Post subject: Reply with quote

ha! all sounds a little convenient.....lost the script and forgot the password Wink
Back to top
View user's profile Send private message
Titan



Joined: 11 Aug 2004
Posts: 5390
Location: /b/

PostPosted: Fri Feb 15, 2008 8:11 am    Post subject: Reply with quote

Ways to reverse engineer a compiled script have been discussed on the forum. If you truly forgot the password of your script and need the source try searching the forums.
_________________

Back to top
View user's profile Send private message Visit poster's website
windboy



Joined: 13 Feb 2008
Posts: 31

PostPosted: Fri Feb 15, 2008 8:52 am    Post subject: Reply with quote

have been searching the forum...cannot find anything which is helpful. I have no idea how to convince all of you though Sad
Back to top
View user's profile Send private message
ManaUser



Joined: 24 May 2007
Posts: 906

PostPosted: Fri Feb 15, 2008 6:00 pm    Post subject: Reply with quote

Unless it was an extremely complex script, you're probably better off just recreating it.
Back to top
View user's profile Send private message
Conquer



Joined: 27 Jun 2006
Posts: 385
Location: Canada

PostPosted: Fri Feb 15, 2008 9:25 pm    Post subject: Reply with quote

Well, its always a good idea to have an "About" box that would say it was programmed by you Smile
_________________
Back to top
View user's profile Send private message
windboy



Joined: 13 Feb 2008
Posts: 31

PostPosted: Sat Feb 16, 2008 2:07 am    Post subject: Reply with quote

i just remember something, i may have put N/A to the boxes to prevent decompiling, is there any way to decompile it?
Back to top
View user's profile Send private message
jeromymoore
Guest





PostPosted: Mon May 05, 2008 12:03 am    Post subject: How do i use this? Reply with quote

I am also wishing to decompile my script to change a few things.

I dont understand the program that SKAN suggested?
When I open it it just opens a command prompt window and does nothing.

How do I work it?

Thanks!
Back to top
IsNull



Joined: 10 May 2007
Posts: 112
Location: .switzerland

PostPosted: Mon May 05, 2008 1:54 pm    Post subject: Reply with quote

windboy wrote:
i just remember something, i may have put N/A to the boxes to prevent decompiling, is there any way to decompile

it?

Yes.
Autohotkey doesn't compile scripts - simplified, a compiled ahk script is only the interpreter exe (authotkey.exe -> autohotkey.bin) with the atached ahk source. The Source can be encrypted and so on...

BUT: The important thing is, that the ahk source (decrypted) is nessecary for the execution of an compiled script. So, before the script can start, the source (at least the first code line, if it's done line by line) must be decrypted. And that's the point of all these code-protector routines. And if the script is able to decrypt the source, we can do that too. Ok, you must have enought reverse engineering skills...

Also, there is a tool, who can "crack" the protection and decompile any ahk script. But don't ask for it. Wink

If you can verify that you are the owner of this script, and the community gives me the authority to do that, I can try to decompile it for you.

so far
IsNull
_________________
http://securityvision.ch
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    AutoHotkey Community Forum Index -> Ask for Help All times are GMT
Page 1 of 1

 
Jump to:  
You can post new topics in this forum
You can reply to topics in this forum


Powered by phpBB © 2001, 2005 phpBB Group