Created
October 25, 2011 22:26
-
-
Save Browne/1314546 to your computer and use it in GitHub Desktop.
A very crude keylogger
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/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