PasswordSpy Source Code
Version 2.2
Copyright © 2001 Brian Friesen

Last Updated: 7/19/'06
General Here you can download the source code to the program PasswordSpy. This program is not very complex, but it does demonstrate several advanced Windows techniques. PasswordSpy shows you how to "capture" all mouse events, search through the window handles on your system, plus draw in the client area of another window [of another process]. It also demonstrates how with a single line of code you can toggle a program between "always on top" and normal. By far the most interesting and advanced part of PasswordSpy is the windows hooks. In order to copy the password on Windows 2000 or later, a Windows hook must be set.

Compile In order to compile the PasswordSpy source code you must use Microsoft Visual C++ version 5 or later. Also, to compile the Unicode versions of PasswordSpy you must have selected the "Unicode" option when you installed Microsoft Visual C++.

Download PasswordSpy source code (28K)

UPDATE: Google (and some other companies) have decided that Brian's PasswordSpy program is a phishing tool. So I can no longer host it on my site, without getting my site blacklisted. If you need it, you can probably find it in The Wayback Machine, but if not then feel free to contact me, and we'll figure out how to get it to you. -Dave



Back to Freezerware Software