Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Windows XP password field

Posted on 2004-09-03
3
Medium Priority
?
188 Views
Last Modified: 2010-04-05
Dear Experts

I had forgotten my dialup password the other day and downloaded a password viewer. The strange thing was that it would only unmask textbox's with a normal password character - say a '*' and not the text box with the special XP character. So anyway I downloaded a program called SuperPasswordSpy++ (http://www.codeguru.com/Cpp/I-N/ieprogram/security/article.php/c4387). Which was able to view my password for me. The next day I then tried making a simple delphi program to view the password behind these XP/2K characters and wasn't able to.

The website http://www.codeguru.com/Cpp/I-N/ieprogram/security/article.php/c4387 has the source code to view these characters in C++, but that don't mean a thing to me. I get confused too easily :*(

Does anyone know how to view whats behind these 2K/XP password charactors in delphi?

Thanks, your help is much appreciated
0
Comment
Question by:type57
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
3 Comments
 
LVL 23

Accepted Solution

by:
Ferruccio Accalai earned 375 total points
ID: 11979520
let's see....
you can use a mouseup event to drag from a form to the pwdchar field....

for example, click on a form, drag to the masked textbox field and release the mouse button....

it's working for me on W2K and XP

procedure TForm1.FormMouseUp(Sender: TObject; Button: TMouseButton;
  Shift: TShiftState; X, Y: Integer);
var
  mypoint: TPoint;
  myHandle: THandle;
begin
  GetCursorPos(myPOINT);
  Sleep(100);
  myhandle := WindowFromPoint(myPOINT);
  PostMessage(myhandle,EM_SETPASSWORDCHAR,0,0);
  PostMessage(myhandle,WM_LBUTTONDOWN,0,0);
  PostMessage(myhandle,WM_LBUTTONUP,0,0);
end;
0
 

Author Comment

by:type57
ID: 11979709
Oo I didn't realise that was all I had to do, thx it worked a treat.
0
 
LVL 23

Expert Comment

by:Ferruccio Accalai
ID: 11979758
--> thx it worked a treat.
SO why just a B grade?
BTW it doesn't matter.
Glad to have helped you.

F68 ;-)
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Creating an auto free TStringList The TStringList is a basic and frequently used object in Delphi. On many occasions, you may want to create a temporary list, process some items in the list and be done with the list. In such cases, you have to…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In this brief tutorial Pawel from AdRem Software explains how you can quickly find out which services are running on your network, or what are the IP addresses of servers responsible for each service. Software used is freeware NetCrunch Tools (https…
In response to a need for security and privacy, and to continue fostering an environment members can turn to for support, solutions, and education, Experts Exchange has created anonymous question capabilities. This new feature is available to our Pr…
Suggested Courses

704 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question