Keystroke logger

Hi,

I wanted to look at writing a key logger type
application. i.e. a tool that can detect and record
key stroke and mouse movements.
Does anyone have any clues or suggestions on how I can
do this.

thanks

Hi,

I wanted to look at writing a key logger type
application. i.e. a tool that can detect and record
key stroke and mouse movements.
Does anyone have any clues or suggestions on how I can
do this.

:slight_smile: I hope this doesn’t sound out of place, but you might want to provide
a little background on why you’re interested in such an application.

Cheers,
Benjohn

[email protected] wrote:

Hi,

I wanted to look at writing a key logger type
application. i.e. a tool that can detect and record
key stroke and mouse movements.
Does anyone have any clues or suggestions on how I can
do this.

:slight_smile: I hope this doesn’t sound out of place, but you might want to provide
a little background on why you’re interested in such an application.

The NSA uses Ruby? :smiley:

A lot of businesses use keystroke loggers on all their PCs to track
usage.

On 28 Jul 2006, at 16:00, Brendan Speer wrote:

A lot of businesses use keystroke loggers on all their PCs to track
usage.

:slight_smile: If anything, I think that’s a more malicious usage than the one I
had in mind!

For Windows at least it looks like its done rather easily in C++ by
making a
.dll and attaching it to programs so it can catch and record all
keystrokes:
http://www.keylogger.org/articles.cgi?in=Keyboard_Hook&id=6 .
I imagine you could probably implement all that in Ruby by calling the
appropriate Windows libraries and rewriting that C++ in Ruby or
something to
that effect (That would be a Ruby N.'s assumption though, so it very
well
might be wrong).

Ethan P.

(On an off-topic note, Gmail makes it look like I send 2 replys when I
reply
to the group, but only one show’s up on ruby-forum. If I am indeed
double
posting for lack of a better word please email me privately so I can
figure
some thing out)

(OT) If you have a filter set up for to:[email protected], then
both your original message and the one the list echoes back out are
shown in the thread. I use gmail and get this behavior too.