Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Crypting an EXE!?

Status
Not open for further replies.

PichiMedia

Programmer
Mar 18, 2007
11
RO
Hello,

I wonder if this is somehow possible. I am using passwords for my FOXPRO EXE programs, in a way that if they are to be copyed on a different computer, they ain't starting, unless the correct password is entered. But if someone uses a DECOMPILER like REFOX, my code will be public, and so my password revealed. I know that there isn't any way to 100% encrypt an EXE, but is there such a method, to crytpt it partially, or to use some tool(s), anything, so that it won't be so easy to extract the code with a DECOMPILER?

Thank you.
 
Try Konxise (pronounse Concise)

it protects from decompilers.

not from copy protection.

Ali Koumaiha
Wireless Toyz
Farmington Hills, Michigan
 
So your weak point is somthing like:
Code:
if !(thisform.password.value=="mysecretpassword")
   quit
endif

Don't compare the entered password with the cleartext password. Compute some hash, eg SHA or MD5 and compare that to the SHA or MD5 of the real password. That way even if decompiled, the password cannot be retrieved, as a hash cannot be decrypted to the original password.

If you care for your code you should additionally use konxise, true. But even that decodes the app as it runs. Classes in memory are unencrypted.

Bye, Olaf.
 
PichiMedia

You can also use Refox to protect your application against decompilation even with Refox.

Mike Gagnon

If you want to get the best response to a question, please check out FAQ184-2483 first.
ReFox XI (www.mcrgsoftware.com)
 
Thank you all, you've gave me a starting point. Thank you.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top