Password viewer???
-
How do you make a small program which allows you to see passwords?? So, if you see an password in a textbox, whith ****, how can you encrypt this??
-
How do you make a small program which allows you to see passwords?? So, if you see an password in a textbox, whith ****, how can you encrypt this??
Encrypt? Do you mean you want to scramble the actual text behind the dots, or you want to see the text behind the dots? If you want to see the text, you would use GetWindowText or use SendMessage and the WM_GETTEXT message to retrieve the text from the Textbox. BUT! I'm NOT telling you how to get the window handle of the Textbox! Hacking a password is not supported here... If you want to encrypt the text, you can't. If you encrypt the text, your actually just typing the scrambled characters into the textbox and the program will not know that your password is scrambled and pass on a scrambled (and incorrect) password to whatever authentication process is being used. To stop this practice from being used on projects I've worked on in the past, I've used techniques like clearing the password from the textbox after 3 seconds or so and have written a textbox control that keeps the password typed in seperate from the textbox. The textbox display is just a plain textbox, without using the Password Character property, that just has asterisks in it that correspond to the number of characters entered. You can use Revelation on it, or some other hack tool that does the same, and you'll actually see a string a asterisks instead of the text behind them. And no, I can't give you the code for it because it's copyrighted by my employer at the time... RageInTheMachine9532