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;
In Section
Seekers of Perl Wisdom