Solved

Windows XP password field

Posted on 2004-09-03
3
178 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
  • 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

What Security Threats Are You Missing?

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …

758 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now