Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I automated my Yahoo! login process with AutoHotkey.

It works fine, but problem is that when running this .ahk file, anybody can open the script and see the password.

Is there a way I could encrypt this password?

share|improve this question
    
If you encrypt the password somehow, AHK will have to decrypt it automatically. Once again, this makes your password available to anyone. –  Dennis Jan 17 '13 at 19:58
    
no on the gui where it pasted it looks **** so that won't be problem. –  vishalsharma Jan 18 '13 at 5:21
    
1. Inspecting the AHK source code will tell you the encrypted password and how to decrypt it. 2. In Chrome, e.g., you can right-click the password field, click *Inspect element and change the input's type from *password to text. No more asterisks. –  Dennis Jan 18 '13 at 11:40

1 Answer 1

up vote 3 down vote accepted

AutoHotkey can compile your AHK script to an executable (.exe) with its build-in tool ahk2exe.
The compiler encrypts your source data and its hard to decompile it. (But its not impossible)

enter image description here

Edit: To my knowledge it is not possible to just encrypt a single string within a script and leave the rest untouched. Encrypting the whole script will be the way to go.

share|improve this answer
    
thanks for the answer but this i already know!! –  vishalsharma Jan 17 '13 at 13:10

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.