Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery

Re: Re: Perl Keylogger on Linux

by cjf (Parson)
on Jul 01, 2002 at 16:05 UTC ( #178593=note: print w/ replies, xml ) Need Help??

in reply to Re: perl keylogger on linux
in thread perl keylogger on linux

Okay, this thread has inspired me to start a new project.

The project will be a keylogger written entirely in Perl. It needs to run on Linux and read keystrokes entered on the command line and in X. I've done searches both here and on CPAN for 'keylogger' and 'term' but didn't find anything relevant.

Any suggestions as to how I'd get started on this project? Thanks in advance for the replies :).

Comment on Re: Re: Perl Keylogger on Linux
Replies are listed 'Best First'.
Re^3: Perl Keylogger on Linux
by Anonymous Monk on May 23, 2008 at 18:14 UTC
    if u want to write a simple key logger in windows this would be how to do it
    use feature ':5.10'; while(10) { $input = <>; #this creats an infinite loop last if $input eq "exit/n"; #exit loop when user presses exit then ent +er open(FILE, ">>log.txt"); print FILE $input; } close FILE;

      I have to admit, when I first saw this thread, I was thinking script kiddie. This response adds a nice touch of humor to this thread as a very naive approach.

      Thanks for the humor :)


Log In?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://178593]
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (4)
As of 2015-11-26 13:23 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (699 votes), past polls