Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Keyboard capture

by sunadmn (Curate)
on Oct 20, 2003 at 19:13 UTC ( #300716=perlquestion: print w/ replies, xml ) Need Help??
sunadmn has asked for the wisdom of the Perl Monks concerning the following question:

Good day fellow monks. I was asked today if I could write a program to run under windows that could capture every keyboard stoke typed on a certain machine and also log what program the strokes were pointed towards. Now I know there are many different spy type programs readily available on the net, but since this would be spread across a corporate environment this might be a bit costly, so I was wondering if any of my fellow monks had thought of or know of a way to do this.

Any pointers would be great.
Thanks in advanced
-Sunadmn

Comment on Keyboard capture
Re: Keyboard capture
by Anonymous Monk on Oct 20, 2003 at 20:20 UTC
    Perl would not be a good candidate for this.
Re: Keyboard capture
by inman (Curate) on Oct 21, 2003 at 08:08 UTC
    Typically, the way to do this is to write a Windows Hook DLL. There are a number of sites that will give you help with this using C or VB. Unfortunately the key appears to be the ability to create a DLL to house your hook code which I don't think you can do with perl (I am glad to receive coments if this is not the case).

    This link should give you some Ideas.

    inman

Re: Keyboard capture
by zentara (Archbishop) on Oct 21, 2003 at 16:27 UTC
    You might look at UberKey. It works on linux, and it is very simple c code, maybe you can get it to compile and work on windows. It's free.
Re: Keyboard capture
by naChoZ (Curate) on Oct 22, 2003 at 04:04 UTC

    Not cheap, but might be worth a look.

    --
    Diplomacy is the art of saying "Nice doggie" until you can find a rock.
    naChoZ

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://300716]
Approved by BazB
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (10)
As of 2014-07-28 20:50 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (209 votes), past polls