Page 1 of 1

Confidential data exposed in exe

Posted: Wed Dec 14, 2016 4:06 am
by PedroAlex
Attached is a small example with confidential data.
Try compiling and then edit the exe with notepad ++.
Then Ctrl + F and look for "Login".
it is very easily discover Login and password.
For those who have private encryption keys and other sensitive data, this can not happen.

Do you know of any solution that can prevent this !?

Many Thanks for comments.

Pedro

Re: Confidential data exposed in exe

Posted: Sat Feb 25, 2017 1:10 pm
by Victorio
Hi Pedro,
Simply save secret password in encrypted file, do not put it to source code.
When run program, read file and decrypt

Re: Confidential data exposed in exe

Posted: Sat Feb 25, 2017 2:15 pm
by rdonnay
If you must put the password in the EXE, you can enter it in your code as a 32-character Md5Hash().

Look at \exp20\samples\md5hash