Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl Monk, Perl Meditation
 
PerlMonks  

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

      --MidLifeXis

Reaped: Re^3: Perl Keylogger on Linux
by NodeReaper (Curate) on Aug 23, 2013 at 07:25 UTC

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (12)
As of 2014-09-17 19:36 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (97 votes), past polls