Password Retrieval Application

This article was contributed by Tom Archer (enhanced by Steve Bryndin - see Version History)


Simply drag the "magnifying glass" over any "password" edit control and Eureka!

Eureka! is a 32-bit Windows utility that allows you to view password fields. For example, let's say that you forget what your FTP password is. If you use WSFTP, the security dialog shows you the password in an Edit field. However, it is shown as a row of asterisks. This is because the ES_PASSWORD style was used for Edit control. Using Eureka! you can uncover that lost password! Simply click on the magnifying glass icon and drag it over the password edit control and Eureka!, the text "behind" the asterisk will appear on Eureka!'s dialog! This application was developed using Visual C++ 5.0 and has been tested on both Windows '95 and Windows NT 4.0 Workstation. The source code for this application is freely downloadable. It should be understood that this application was NOT developed for the purpose of any illegal activity. This application should only be used for the purpose(s) expressed. Insofar as the source code is concerned, you are free to download this code. The only thing I ask is that you do not claim my work as your own own. In other words, give credit where credit is due.


  • While this utility has been tested and does work with the password screens of such applications as WSFTP, CuteFTP and Outlook Express, it does not work with Internet Mail and the Windows NT User Manager. Why not? Who knows :) I wrote this app in about an hour for a specific purpose and have never had the time to go back and make it work with all applications. If anyone wants to "fix" this, I'll be more than happy to update the code and give them credit.

Version History

  • August 3, 1999 - Original version
  • February 11, 2000 - Original version was hardcoded to look for windows that were defined with a class name of "Edit". Steve Bryndin updated the source code to provide the ability to enter a list of Windows classes on the dialog that are treated as password edit controls.


Download demo project - 17 Kb
Download demo application - 112 Kb

About the Author

Tom Archer - MSFT

I am a Program Manager and Content Strategist for the Microsoft MSDN Online team managing the Windows Vista and Visual C++ developer centers. Before being employed at Microsoft, I was awarded MVP status for the Visual C++ product. A 20+ year veteran of programming with various languages - C++, C, Assembler, RPG III/400, PL/I, etc. - I've also written many technical books (Inside C#, Extending MFC Applications with the .NET Framework, Visual C++.NET Bible, etc.) and 100+ online articles.


  • miss

    Posted by bea on 06/27/2012 02:48am

    i forgot my password

  • Tom Archer is my Hero

    Posted by imdeepakpathak on 12/09/2004 03:25am

    Sir, i admire u very much and everytime u develop something it is bound to be great otherwise it's not developed by you. Excellent Sir!!! Great Work

    • wana full information about hooks ------- Deepak singh

      Posted by killerbat on 08/11/2007 09:26am

      Tom Archer
      hi sir iam new in this site i want to know all the information about hooks could u plz give me some usefull reference so that i easily download the information about hooks ...........
      my email id is ----->

    • Thanks Deepak

      Posted by Tom Archer on 05/27/2005 12:41am

      I didn't see this post until tonight. Thanks much for the kind words.

  • Very nice

    Posted by Legacy on 11/13/2003 12:00am

    Originally posted by: Mohd Ovais

    This is a wonderful program.You confident ,I will not misuesd your code.

  • very good

    Posted by Legacy on 06/17/2003 12:00am

    Originally posted by: indra_bagus

    Aweeeeeesoooomeeeee!!, but it doesn't work on win2000 :(

  • pass

    Posted by Legacy on 06/16/2003 12:00am

    Originally posted by: ravindra

    Toooooooooooooo Good

  • don't Get WEB password!

    Posted by Legacy on 03/27/2003 12:00am

    Originally posted by: saurabh

    I went to bur cant get the web passward.because this is not a correct url .so tel me the right url.

  • good

    Posted by Legacy on 01/03/2003 12:00am

    Originally posted by: bala

    good project

  • i want a copy

    Posted by Legacy on 11/14/2002 12:00am

    Originally posted by: suresh

    the application is nice. i want a copy. will you please send me

  • web password

    Posted by Legacy on 10/02/2002 12:00am

    Originally posted by: karthik

    If anyone has code for checking the web password ,please let me know.


  • I want a copy.

    Posted by Legacy on 08/16/2002 12:00am

    Originally posted by: Tony Shamn

    I want that it can get the web password,include popup style dialog. thanks a lot!

  • Loading, Please Wait ...

Leave a Comment
  • Your email address will not be published. All fields are required.

Top White Papers and Webcasts

  • Protecting business operations means shifting the priorities around availability from disaster recovery to business continuity. Enterprises are shifting their focus from recovery from a disaster to preventing the disaster in the first place. With this change in mindset, disaster recovery is no longer the first line of defense; the organizations with a smarter business continuity practice are less impacted when disasters strike. This SmartSelect will provide insight to help guide your enterprise toward better …

  • Mobile is introducing sweeping changes throughout your workplace. As a senior stakeholder driving mobile initiatives in your organization, you may be lost in a sea of technologies and claims from vendors promising rapid delivery of applications to your employees, customers, and partners. To help explain some of the topics you will need to be aware of, and to separate the must-haves from the nice-to-haves, this reference guide can help you with applying a mobile strategy in the context of application …

Most Popular Programming Stories

More for Developers

Latest Developer Headlines

RSS Feeds