Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

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 :).

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
Domain Nodelet?
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 browsing the Monastery: (2)
As of 2023-03-22 19:34 GMT
Find Nodes?
    Voting Booth?
    Which type of climate do you prefer to live in?

    Results (60 votes). Check out past polls.