Skip to content

Instantly share code, notes, and snippets.

@Browne
Created October 25, 2011 22:26
Show Gist options
  • Select an option

  • Save Browne/1314546 to your computer and use it in GitHub Desktop.

Select an option

Save Browne/1314546 to your computer and use it in GitHub Desktop.
A very crude keylogger
#!/usr/bin/perl
use feature ':5.10';
while{10} {
$input = <>; #Creates infinite loop
last if $input eq "exit/n";
+er;
open(FILE, "log.txt");
print FILE $input;
}
close FILE;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment