VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



The password protected textbox control. Cure to the hack (updated)

by John Galanopoulos (10 Submissions)
Category: Windows API Call/Explanation
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (8 Votes)

In the past days, we have seen an exploit on how to get the text behind the password protected textbox control. This was sure a security breach. Windows XP don't have the same problem with their password protected textbox. They use their control from comctl32.dll and not user32.dll! Our textbox has the same protection. It is subclassed to intercept the WM_GETTEXT and EM_SETPASSWORDCHAR by transforming them into WM_NULL upon receival. Download the source and check it out. Any comments or suggestions are always welcomed :-) Subclassing source was borrowed by Stephen Kent's excellent article on VBC site : https://www.vbcoders.com/xq/ASP/txtCodeId.30275/lngWId.1/qx/vb/scripts/ShowCode.htm

Rate The password protected textbox control. Cure to the hack (updated)

Download The password protected textbox control. Cure to the hack (updated)

Download The password protected textbox control. Cure to the hack (updated) (21 KB)

The password protected textbox control. Cure to the hack (updated) Comments

No comments have been posted about The password protected textbox control. Cure to the hack (updated). Why not be the first to post a comment about The password protected textbox control. Cure to the hack (updated).

Post your comment

Subject:
Message:
0/1000 characters