Important alert: (current site time 7/15/2013 5:50:57 PM EDT)
 

article

_Revelation (A Security Threat)_

Email
Submitted on: 12/28/2003 8:59:20 AM
By: Enrico Lorenzo  
Level: Beginner
User Rating: By 7 Users
Compatibility: Borland C++
Views: 12262
 
     This article will show you that .exe files built in C++ can reveal their password(s) to anyone.
 
winzip iconDownload article

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this article, you agree to the following terms...   
  1. You may use this article in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this article (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this article from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the article or article's description.


Other 13 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this article (in the Beginner category)?
(The article with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments

12/28/2003 9:49:28 PMDan Anderson

Oh no, someone has 'cracked' unencrypted executables!
(If this comment was disrespectful, please report it.)

 
12/29/2003 5:57:44 PMMa-rK

excellent post, thanks for TEACHING us where some coders may go wrong.
(If this comment was disrespectful, please report it.)

 
12/30/2003 7:07:37 AMEnrico Lorenzo (ENRICO X)

If there is a 30 day limit and no password to input then it can't be cracked. Some companies are brilliant, you'll have to purchase the product first then they will send you the full software on your e-mail.
(If this comment was disrespectful, please report it.)

 
12/30/2003 7:09:40 AMEnrico Lorenzo (ENRICO X)

This article is not only for programs built in Turbo C++ but for Microsoft Visual Basic as well.
(If this comment was disrespectful, please report it.)

 
3/4/2004 5:49:09 PMDilshan Jesook

Nice.... But you can use a HEX editor to look throught the code and crack the built in passwords, encryption algo's etc. It's just a complex effort when the program is written in a good manner. :)
(If this comment was disrespectful, please report it.)

 
11/10/2004 12:40:21 AMAndrew Nielsen

If you leave a password unencrypted in your program, you deserve to have it cracked... if you leave anything you want to keep private unencrypted and you've got no other protection to prevent someone from seeing that... you deserve what you get. It's just common knowledge to protect stuff you don't want others to know...

While it's a good article, if you don't know better... you've got problems.
(If this comment was disrespectful, please report it.)

 
11/10/2004 5:20:41 AMAenox

What a revelation! Who would have guessed that opening a binary file containing text with a text editor would show these strings?
(If this comment was disrespectful, please report it.)

 
11/10/2004 10:24:33 AMBrandon Quick

I've seen a few sarcastic comments about Enrico's program and that is ridiculous. If you don't like the code or think it's obvious or something, then don't comment; at least if it isn't constructive criticism. What's the point?
(If this comment was disrespectful, please report it.)

 
11/11/2004 5:22:47 AM

Is there any difference between exe files created by c compilers and vb compilers.
(If this comment was disrespectful, please report it.)

 
8/1/2006 10:06:59 PMChris C.

Thats why you play it smart and encrypt the password..

if(strcoll(pword, Decrypt("XXXXXXX")==0)
(If this comment was disrespectful, please report it.)

 
3/5/2007 12:39:54 PMBritto

i need video shop maintenance project in c++...
so any body send that project in my mail id.... plssssss
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular article, please click here instead.)
 

To post feedback, first please login.