XPass is little (11Kb only!) Windows utility that reveals content of masked password input fields.
Usage is simple:
Important information: XPass works with Windows password fields. It will not work on any software that uses custom password controls. Therefore, for example, it works on Internet Explorer and on most windows programs, but not on Opera or Firefox. And... be good, dont steal passwords;)
Tested on Win2K, WinXP, Vista, Win7.
This is a rebuild of code developed back in 2002:) I've had a system for building small executables, using Watcom and Microsoft compilers and linkers. So, I've finally made to upgrade it to work with recent version of OpenWatcom, win SDK and Visual Studio.
Now, how it is done? Not big deal, anyway: set WH_CALLWNDPROC hook and get text from underlying control with WM_GETTEXT. That's the core of the solution, but it not works over password fields in IE. Therefore, I had to check for Internet Explorer window under the cursor and get its CComPtr<IHTMLDocument2>, that can be examined for input fields.
The same trick still works:)