In article <3f84e9a2$>,
says...
> "Steven H" wrote
> > ****ing unbelievable isnt it - thankfuly ms finally got a clue and
> > pluged the hole that allows that exploit
>
> no-one has said that it doesnt work in XP... yet.
it worked in pre 2000 because sending WM_GETTEXT would let you get the
password text and not "***"
however if you send a WM_GETTEXT message to a password control, it first
checks the calling process to determine if it has access. If the calling
process is the same process as the one that created the password
control, the WM_GETTEXT message still returns the password. However, if
the calling process is different, then the return is
ERROR_ACCESS_DENIED.
BUT... - drumroll
you CAN get the text using WM_GETTEXT if you inject your code into the
process you are trying to hack - the secret is to ensure that the
exploit code is inside the process that owns the Password box.
there are ways to circumvent souch hacks, one is to never store the
password in the control, secondly is to eat WM_GETTEXT and prehaps
return garbage.
so i stand corrected
--
================================================== =
Steven H