in reply to Re: Re: Perl Keylogger on Linux
in thread perl keylogger on linux
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;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^4: Perl Keylogger on Linux
by MidLifeXis (Monsignor) on May 24, 2008 at 14:41 UTC |
In Section
Seekers of Perl Wisdom