Keystroke logger for Windows

Peter Parente parente at cs.unc.edu
Mon Aug 25 07:26:28 EDT 2003


Change of plans. The hooks library is at
http://www.sourceforge.net/projects/uncassist. You can download and
run the pyHook windows installer, or check it out of CVS. There's an
example.py file in the CVS pyHook module that shows you how to use it
(requires wxPython for the GUI).

Pete

parente at cs.unc.edu (Peter Parente) wrote in message news:<85b6a599.0308230628.49ba3c74 at posting.google.com>...
> I have a Python library that can capture system wide keystrokes and
> mouse events. Basically, the windows hooking code is in a C Python
> extension that passes callback information back to Python when an
> event occurs. I'll
> post it to our Python tools sourceforge site in the near future. (I
> need to clean it up a bit and provide an example before it will be the
> least bit useful to you.)
> 
> When it's posted, it will appear at
> http://sourceforge.net/projects/uncpythontools/ as the pyHook project.
> 
> Pete
> 
> 
> hokieghal99 <hokiegal99 at hotmail.com> wrote in message news:<bi66lq$skj$1 at solaris.cc.vt.edu>...
> > Does anyone know of a keystroke logger that has been written in Python 
> > for Windows machines? I'd like to see such a script and use it as a 
> > point of reference for a real-time backup project that I'm working on. 
> > Basically, I'd like to be able to capture all keystrokes from the 
> > keyboard buffer and write them to a text file so I could reporduce 
> > emails, documents, etc. in the event of file loss that occurs between 
> > nightly backups. For example, my boss comes to me, he has deleted an 
> > email that he was writing... he has been working on the email all day... 
> > and he expects me to wave a magic wand and bring it back.
> > 
> > Thanks for any advice, code or pointers. Also, if Python isn't suited 
> > for this, let me know and I'll look at doing this in c




More information about the Python-list mailing list