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

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 Noob's assumption though, so it very well
might be wrong).

Ethan Price

(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)

···

On 7/28/06, derek <derekhaskin@optusnet.com.au> 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.

thanks

benjohn@fysh.org 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:

(OT) If you have a filter set up for to:ruby-talk@ruby-lang.org, 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.

···

On 7/29/06, Ethan Price <nahteecirp@gmail.com> wrote:

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 Noob's assumption though, so it very well
might be wrong).

Ethan Price

(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)

On 7/28/06, derek <derekhaskin@optusnet.com.au> 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.
>
> thanks
>

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

···

On 7/28/06, Daniel Schierbeck <daniel.schierbeck@gmail.com> wrote:

benjohn@fysh.org 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:

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

···

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

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