Click here to Skip to main content
15,886,026 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
I am using VS 19 and PyCharm, I am working on and trying to learn how to unmask characters like you would when you want a password to be seen or not for my web page and also for users for users who make purchases. Now it isn't secure I would be venerable to have people do this on there own so I can or need to figure out if the my pages was secure and encrypted the data can't be seen by anyone other then me the owner of the web site? In this case I would like to learn how to unmask **** from data in a websites code into a numerical string. This is possible right? In a legal way of course :)

What I have tried:

Private Sub CheckBox2_CheckedChanged(ByVal sender As Object, ByVal e As EventArgs) Handles CheckBox2.CheckedChanged
    If CheckBox2.Checked Then
        TextBox14.PasswordChar = "*"c
    Else
        TextBox14.PasswordChar = ControlChars.NullChar
    End If
End Sub
Posted
Updated 24-Feb-21 1:30am
v2
Comments
Richard Deeming 24-Feb-21 7:13am    
You / your site should NOT be able to see the user's password. You should be storing a salted hash of the password, with no way to recover or view the original.

Secure Password Authentication Explained Simply[^]
Salted Password Hashing - Doing it Right[^]

1 solution

You can't, unless the has been written by a rank amateur.
The password text box you see and that the user interacts with doesn't contain the password characters, it just contains the stars. The password is retained elsewhere in the code, often in a SecureString which is tself encrypted.

Even is it could be done, it would count as malicious code, and we do not condone, support, or assist in the production of malicious code in any way, form, or manner. This is a professional site for professional developers.

If you want to know how to create such things, you need to visit a hacking site: but be sure to disable all firewalls and antivirus products first or they won't trust you enough to tell you.
 
Share this answer
 
Comments
- srybczyk- 24-Feb-21 7:35am    
I am not condoning illegal activities here, it is in reference to my email sender software where as I would like users to be able to show there password when entering a login, as well as accepting payments with credit cards for subs, But I want to know anyways if someone could unmask the data from my website if they were to add cc details. I would think this would be a possibility in the real world wouldn't it?
- srybczyk- 24-Feb-21 7:43am    
more or less regarding security on my software and page.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900