Solved

Windows XP password field

Posted on 2004-09-03
3
186 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 22

Accepted Solution

by:
Ferruccio Accalai earned 125 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 22

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

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
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…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

705 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